commandFire

From Bohemia Interactive Community
Revision as of 00:27, 6 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


unit commandFire target


Operand types:

unit Object or Array

target: Object

Type of returned value:

Nothing

Description:

Order unit to commence fire on given target (via radio).

If target is objNull, commence fire to current target (set using doTarget or commandTarget).


Example:

soldierOne commandFire player