commandFire: 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 (via the radio). 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 to fire on the given target (via the radio).
If the target is [[objNull]], the unit is ordered to fire on its current target (set with [[doTarget]] or [[commandTarget]]). |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''commandFire''' target |= Syntax
| unit '''commandFire''' 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:41, 27 October 2006

Hover & click on the images for description

Description

Description:
Order the given unit to fire on the given target (via the radio). 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 commandFire target
Parameters:
unit: Object or Array
target: Object
Return Value:
Nothing

Examples

Example 1:
ESoldier1 commandFire WSoldier1

Additional Information

See also:
doFirefire

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

Bottom Section