doFire: Difference between revisions
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. | [[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 20:14, 1 June 2006
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.