Home   Help Search Login Register  

Author Topic: DoFire . . . then Don'tFire  (Read 835 times)

0 Members and 1 Guest are viewing this topic.

Offline ACF

  • Members
  • *
  • Llama?? Ain't that French for tanks?
DoFire . . . then Don'tFire
« on: 30 Jul 2003, 16:12:48 »
I have a desire to order a unit (soldier) to briefly DoFire at another soldier but then stop/cease/hold fire, repeating the process as necessary.   However, once the DoFire command is issued, none of the following (singly or in combination) revoke the DoFire; the firer keeps [do]firing until the target is killed:

firer SetCombatMode "Blue"
DoStop firer
firer Stop true
firer DoFire objnull (or a handy bush)
firer DoTarget objnull (or a handy bush)
firer DisableAI "TARGET

In an attempt to limit AI intervention during tests, it was run as a blue-on-blue engagement, but even the AI shouting ‘cease fire' failed to save the target.

Now, most of the script commands  (and ‘do-s') have in-game equivalents, but not vice versa, so the general question is: "Are there any undocumented commands that allow scripting of, say, ‘Find Cover' or ‘Disengage'?"

Whatever the answer to that one, please does anybody know of a way to immediately cancel, cease, stop or hold an in-progress DoFire on a still-living target.
(n.b. the Fire command has been tried as an alternative, but soldiers fire into the air even if they're DoWatching the target.  And you only get a single round.)

Thanks in anticipation . . .