doFire: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:




'''Comments'''
'''Comments:'''


It is often helpful to use [[doTarget]] first.
It is often helpful to use [[doTarget]] first.

Revision as of 11:23, 16 April 2006

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.