commandFire: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
|arg= local |= Arguments in MP | |||
|eff= local |= Effects in MP | |||
____________________________________________________________________________________________ | |||
| 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 | ||
|p1= unit: [[Object]] |= Parameter 1 | |||
|p2= target: [[Object]] |= Parameter 2 | |||
[[Nothing]] | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | |||
|x1= <pre>ESoldier1 commandFire WSoldier1</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| [[doFire]], [[fire]] |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|COMMANDFIRE]] | |||
[[Category:Scripting Commands OFP 1.96|COMMANDFIRE]] | |||
[[Category:Scripting Commands OFP 1.46|COMMANDFIRE]] | |||
[[Category:Scripting Commands ArmA|COMMANDFIRE]] |
Revision as of 22:57, 1 August 2006
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
Examples
- Example 1:
ESoldier1 commandFire WSoldier1
Additional Information
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