BIS fnc helicopterSeat: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Helicopters(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| tkoh |Game name= | | tkoh |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Helicopters |GROUP1= | |gr1 = Helicopters |GROUP1= | ||
|Check if unit sits on right or left seat.|DESCRIPTION= | |Check if unit sits on right or left seat.|DESCRIPTION= | ||
| unit call [[BIS_fnc_helicopterSeat]] |SYNTAX= | | unit call [[BIS_fnc_helicopterSeat]] |SYNTAX= | ||
Line 22: | Line 19: | ||
|x1= <code>[[player]] [[call]] [[BIS_fnc_helicopterSeat]];</code> |EXAMPLE1= | |x1= <code>[[player]] [[call]] [[BIS_fnc_helicopterSeat]];</code> |EXAMPLE1= | ||
| [[moveInDriver]], [[crew]], [[BIS_fnc_helicopterSeatMove]] |SEEALSO= | | [[moveInDriver]], [[crew]], [[BIS_fnc_helicopterSeatMove]] |SEEALSO= |
Revision as of 23:07, 16 January 2021
Description
- Description:
- Check if unit sits on right or left seat.
- Execution:
- call
- Groups:
- Helicopters
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