BIS fnc helicopterSeat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Helicopters(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
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

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

Notes

Bottom Section