doFire: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|DOFIRE]]
[[Category:Scripting Commands|DOFIRE]]
[[Category:Scripting Commands OFP 1.97|DOFIRE]]
[[Category:Scripting Commands OFP 1.96|DOFIRE]]
[[Category:Scripting Commands OFP 1.46|DOFIRE]]
[[Category:Scripting Commands OFP 1.46|DOFIRE]]
[[Category:Scripting Commands ArmA|DOFIRE]]
[[Category:Scripting Commands ArmA|DOFIRE]]

Revision as of 21:14, 1 June 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.