doFire: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|D]]
[[Category:Scripting Commands ArmA|D]]


back to [[Scripting_Reference#D|COMREF]]


<h2 style="color:#000066">'''doFire ''target'''''</h2>
<h2 style="color:#000066">'''doFire ''target'''''</h2>

Revision as of 12:54, 23 April 2006


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.