doFire: 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= global |= Effects in MP | |||
____________________________________________________________________________________________ | |||
| 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 | |||
____________________________________________________________________________________________ | |||
''' | | unit '''doFire''' target |= Syntax | ||
|p1= unit: [[Object]] |= Parameter 1 | |||
[[ | |p2= target: [[Object]] |= Parameter 2 | ||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>ESoldier1 doFire WSoldier1</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| [[commandFire]], [[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> | |||
Old Notes (temporary): | |||
It is often helpful to use [[doTarget]] first. | |||
[[Category:Scripting Commands|DOFIRE]] | |||
[[Category:Scripting Commands OFP 1.96|DOFIRE]] | |||
[[Category:Scripting Commands OFP 1.46|DOFIRE]] | |||
[[Category:Scripting Commands ArmA|DOFIRE]] |
Revision as of 23:48, 1 August 2006
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
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
Bottom Section
Old Notes (temporary):
It is often helpful to use doTarget first.