Home   Help Search Login Register  

Author Topic: V. Quick Question: Hold Fire  (Read 961 times)

0 Members and 1 Guest are viewing this topic.

Scratchdat

  • Guest
V. Quick Question: Hold Fire
« on: 04 Sep 2002, 19:56:31 »
How can I make a soldier hold fire (through a script)?

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:V. Quick Question: Hold Fire
« Reply #1 on: 04 Sep 2002, 20:01:54 »
Hi! ways are many but you need t oset his combat mode.

UnitName SetCombatMode "Mode"

"BLUE"=Never Fire
"GREEN"=Hold Fire
"WHITE"=Hold Fire, Engage At Will
"YELLOW"=Open Fire
"RED"=Open Fire, Engage At Will

Put this into a wp's or a trigger's on activation field and there you go (or in a script)  ;)
« Last Edit: 04 Sep 2002, 20:03:08 by Artak »
Not all is lost.