doFire

From Bohemia Interactive Community
Revision as of 12:17, 16 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search

back to COMREF

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.