Page 1 of 1

PickAnotherTarget

Posted: 29 Dec 2006, 11:05
by Argh
I'd like a COB value that triggers a very specific response. PickAnotherTarget, if TRUE, would cause the Unit to have to pick a new target before calling AimWeapon() again.

Uses:

1. We could use this as a workaround for minimum-range weapons. I.E.:

Code: Select all

bPitch = Pitch
IF(0 - bPitch > <15>)
{
PickAnotherTarget = TRUE;
return (0);
}
Would cause a weapon to have to pick another target if the one it was aiming at now required a Pitch higher than 15 degrees.

2. We could have weapons that randomly cycle through targets every time they fired (handy for anti-aircraft weapons, among other things).

3. We could write custom aiming code that controlled behaviors in certain ways, and "un-jam" them when they finally jammed up due to invalid instructions. TA had something like this, specifically for the Annihilator weapon, but it really didn't work for other weapons.

Posted: 30 Dec 2006, 04:10
by Warlord Zsinj
Don't think we can get proper ATAT's working in Spring until we get this tag...

Posted: 30 Dec 2006, 05:28
by Snipawolf
A good suggestion, I have already thought up ways to use it...

Posted: 30 Dec 2006, 16:28
by KDR_11k
Make it pick the target with the next lower or higher ID so it will really cycle through all nearby targets without needing a "memory" of what it has already targeted.

Posted: 03 Jan 2007, 05:48
by MadRat
I thought the noautoaim=1 setting did pretty much this already.

Posted: 03 Jan 2007, 11:16
by KDR_11k
No, not at all.