BIS fnc helicopterSeat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(page filling)
m (Add example and See also)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


|tkoh|= Game name
| tkoh |= Game name


|1.00|= Game version
|1.00|= Game version
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


|object call '''BIS_fnc_helicopterSeat'''|= Syntax
| unit call [[BIS_fnc_helicopterSeat]] |= Syntax


|p1= object: [[Object]] - Unit which should be checked.|= Parameter 1
|p1= unit: [[Object]] - unit which should be checked. |= Parameter 1


|[[Number]]: <br>-1 - Not in a vehicle<br>0 - left<br>1 - right|= Return value
| [[Number]]:
* -1: Not in a vehicle
* &nbsp;0: left seat
* &nbsp;1: right seat |= Return value
 
|x1= <code>[[player]] [[call]] [[BIS_fnc_helicopterSeat]];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________
||= See also
 
| [[moveInDriver]], [[crew]], [[BIS_fnc_helicopterSeatMove]] |= See also
}}
}}



Revision as of 18:48, 26 April 2018

Hover & click on the images for description

Description

Description:
Check if unit sits on right or left seat.
Execution:
call
Groups:
Uncategorised

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