BIS fnc helicopterSeat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=")
m (Text replacement - " \|p1=([^ ]+) + \| *(\[\[Numb.+) * " to " |p1=$1 |r1=$2 ")
Line 15: Line 15:
|p1= unit: [[Object]] - unit which should be checked.
|p1= unit: [[Object]] - unit which should be checked.


| [[Number]]:
|r1=[[Number]]:
* -1: Not in a vehicle
* -1: Not in a vehicle
*  0: left seat
*  0: left seat

Revision as of 03:38, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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