doFire: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fixed wikilink)
m (Fixed syntax)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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]]). |= Description
| Order the given unit(s) 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]]). |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''doFire''' target |= Syntax
| unit '''doFire''' target |= Syntax


|p1= unit: [[Object]] |= Parameter 1
|p1= unit: [[Object]] or [[Array]] |= Parameter 1


|p2= target: [[Object]] |= Parameter 2
|p2= target: [[Object]] |= Parameter 2

Revision as of 09:40, 27 October 2006

Hover & click on the images for description

Description

Description:
Order the given unit(s) 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 or Array
target: Object
Return Value:
Nothing

Examples

Example 1:
ESoldier1 doFire WSoldier1

Additional Information

See also:
commandFirefire

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

Posted on August 3, 2006 - 14:31
hardrock
Notes from before the conversion: It is often helpful to use doTarget first.

Bottom Section