BIS fnc helicopterSeat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
Line 24: Line 24:




<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 02:06, 18 January 2021

Hover & click on the images for description

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

See also:
moveInDrivercrewBIS_fnc_helicopterSeatMove

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