doFire: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands]] | [[Category:Scripting Commands|D]] | ||
[[Category:Scripting Commands OFP 1.97]] | [[Category:Scripting Commands OFP 1.97|D]] | ||
[[Category:Scripting Commands OFP 1.46]] | [[Category:Scripting Commands OFP 1.46|D]] | ||
[[Category:Scripting Commands ArmA]] | [[Category:Scripting Commands ArmA|D]] | ||
back to [[Scripting_Reference#D|COMREF]] | back to [[Scripting_Reference#D|COMREF]] |
Revision as of 17:21, 22 April 2006
back to COMREF
doFire target
Operand types:
target: Object
Type of returned value:
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.