BIS fnc helicopterSeat: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| unit call [[BIS_fnc_helicopterSeat]] |SYNTAX= | | unit call [[BIS_fnc_helicopterSeat]] |SYNTAX= | ||
|p1= unit: [[Object]] - unit which should be checked. |= | |p1= unit: [[Object]] - unit which should be checked. |PARAMETER1= | ||
| [[Number]]: | | [[Number]]: | ||
Line 19: | Line 19: | ||
* 1: right seat |RETURNVALUE= | * 1: right seat |RETURNVALUE= | ||
|x1= <code>[[player]] [[call]] [[BIS_fnc_helicopterSeat]];</code> |= | |x1= <code>[[player]] [[call]] [[BIS_fnc_helicopterSeat]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:30, 7 April 2019
Description
- Description:
- Check if unit sits on right or left seat.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit call BIS_fnc_helicopterSeat
- Parameters:
- unit: Object - unit which should be checked.
- Return Value:
- Number:
- -1: Not in a vehicle
- 0: left seat
- 1: right seat
Examples
- Example 1:
player call BIS_fnc_helicopterSeat;
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