doFire

From Bohemia Interactive Community
Revision as of 20:14, 1 June 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


doFire target


Operand types:

target: Object

Type of returned value:

Nothing

Description:

Order unit to commence fire on given target (silent).

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


Example:

soldierOne doFire objNull


Comments:

It is often helpful to use doTarget first.