BIS fnc helicopterSeat: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Helicopters |GROUP1=") |
m (Text replacement - "\[\[Category\:Function Group\: Helicopters(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 35: | Line 35: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:helicopterSeat}}]] | [[Category:Functions|{{uc:helicopterSeat}}]] | ||
[[Category:{{Name|tkoh}}: Functions|{{uc:helicopterSeat}}]] | [[Category:{{Name|tkoh}}: Functions|{{uc:helicopterSeat}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:helicopterSeat}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:helicopterSeat}}]] |
Revision as of 10:42, 13 October 2020
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