BIS fnc helicopterSeat: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add example and See also) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|Check if unit sits on right or left seat.|= | |Check if unit sits on right or left seat.|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| unit call [[BIS_fnc_helicopterSeat]] |= | | unit call [[BIS_fnc_helicopterSeat]] |SYNTAX= | ||
|p1= unit: [[Object]] - unit which should be checked. |= Parameter 1 | |p1= unit: [[Object]] - unit which should be checked. |= Parameter 1 | ||
Line 17: | Line 17: | ||
* -1: Not in a vehicle | * -1: Not in a vehicle | ||
* 0: left seat | * 0: left seat | ||
* 1: right seat |= | * 1: right seat |RETURNVALUE= | ||
|x1= <code>[[player]] [[call]] [[BIS_fnc_helicopterSeat]];</code> |= Example 1 | |x1= <code>[[player]] [[call]] [[BIS_fnc_helicopterSeat]];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[moveInDriver]], [[crew]], [[BIS_fnc_helicopterSeatMove]] |= | | [[moveInDriver]], [[crew]], [[BIS_fnc_helicopterSeatMove]] |SEEALSO= | ||
}} | }} | ||
Revision as of 11:28, 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