Home   Help Search Login Register  

Author Topic: A series of questions  (Read 2011 times)

0 Members and 1 Guest are viewing this topic.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:A series of questions
« Reply #15 on: 22 Apr 2003, 18:37:42 »
There are indeed two fire commands.   For the avoidance of confusion, here they are:-


unit fire weaponName

Operand types:
unit: Object
weaponName: String
Type of returned value:
Nothing
Description:
Unit will fire from given weapon.

Example:
soldierOne fire "HandGrenade"

comment »



--------------------------------------------------------------------------------


unit fire array

Operand types:
unit: Object
array: Array
Type of returned value:
Nothing
Description:
Unit will fire from given weapon. Argument has format [muzzle, mode, magazine] or [muzzle, mode].

Example:
soldierOne fire ["throw","SmokeShell","SmokeShell"]
Plenty of reviewed ArmA missions for you to play