commandFire: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\: ?Command[ _]Group\:.*\|\{\{uc\:\{\{PAGENAME\}\}\}\}\]\] " to "")
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Armed[ _]Assault(\|.*)]]" to "{{GameCategory|arma1|Scripting Commands}}")
Line 46: Line 46:
[[Category:Scripting Commands OFP 1.96|COMMANDFIRE]]
[[Category:Scripting Commands OFP 1.96|COMMANDFIRE]]
[[Category:Scripting Commands OFP 1.46|COMMANDFIRE]]
[[Category:Scripting Commands OFP 1.46|COMMANDFIRE]]
[[Category:Scripting Commands Armed Assault|COMMANDFIRE]]
{{GameCategory|arma1|Scripting Commands}}
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 03:26, 7 January 2021

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:
Unit Control

Syntax

Syntax:
unitName commandFire target
Parameters:
unitName: Object or Array
target: Object
Return Value:
Nothing

Examples

Example 1:
_ESoldier1 commandFire _WSoldier1;

Additional Information

See also:
firedoFirecanFirefireAtTargetforceWeaponFirecommandArtilleryFirecommandSuppressiveFiredoArtilleryFiredoSuppressiveFireisManualFire

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