doFire: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (moved notes)
Line 33: Line 33:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
It is often helpful to use [[doTarget]] first.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
Old Notes (temporary):


It is often helpful to use [[doTarget]] first.


[[Category:Scripting Commands|DOFIRE]]
[[Category:Scripting Commands|DOFIRE]]

Revision as of 17:21, 2 August 2006

Hover & click on the images for description

Description

Description:
Order the given unit to fire on the given target (without radio messages). If the target is objNull, the unit is ordered to fire on its current target (set with doTarget or commandTarget).
Groups:
Uncategorised

Syntax

Syntax:
unit doFire target
Parameters:
unit: Object
target: Object
Return Value:
Nothing

Examples

Example 1:
ESoldier1 doFire WSoldier1

Additional Information

See also:
commandFirefire Arrayfire weaponName

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

It is often helpful to use doTarget first.

Bottom Section