doFire: Difference between revisions

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





Revision as of 13:47, 4 May 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.