Home   Help Search Login Register  

Author Topic: addaction.... use bazooka?  (Read 463 times)

0 Members and 1 Guest are viewing this topic.

Wireded

  • Guest
addaction.... use bazooka?
« on: 17 Feb 2003, 15:42:03 »
Is there a way to add an action to the action menu to order a unit that is carrying a bazooka to use it against armour targets?????


Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:addaction.... use bazooka?
« Reply #1 on: 17 Feb 2003, 16:27:38 »
unit1 addAction ["Use bazooka", "bazooka.sqs"]

syntax not guaranteed ... check the command ref for more info.     bazooka.sqs is the script file that contains the commands that you want carried out when the player uses the action.

The commands

selectWeapon
doTarget
doFire

may come in handy for the script.
« Last Edit: 17 Feb 2003, 16:30:38 by macguba »
Plenty of reviewed ArmA missions for you to play