gunner: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
|arg= global |= Arguments in MP | |||
____________________________________________________________________________________________ | |||
| Returns the gunner of a vehicle. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''gunner''' vehicle |= Syntax | ||
|p1= vehicle: [[Object]] |= Parameter 1 | |||
[[Object]] | | [[Object]] - | ||
The unit sitting in the gunner place is returned. If vehicle is not a vehicle but a person, the person is returned. |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>(gunner tank) action ["getout",tank]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| [[commander]], [[driver]], [[crew]] |= 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|GUNNER]] | |||
[[Category:Scripting Commands OFP 1.96|GUNNER]] | |||
[[Category:Scripting Commands OFP 1.46|GUNNER]] | |||
[[Category:Scripting Commands ArmA|GUNNER]] | |||
Revision as of 01:27, 2 August 2006
Description
- Description:
- Returns the gunner of a vehicle.
- Groups:
- Uncategorised
Syntax
- Syntax:
- gunner vehicle
- Parameters:
- vehicle: Object
- Return Value:
- Object - The unit sitting in the gunner place is returned. If vehicle is not a vehicle but a person, the person is returned.
Examples
- Example 1:
(gunner tank) action ["getout",tank]
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