BIS fnc helicopterSeat: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
Lou Montana (talk | contribs) |
||
Line 22: | Line 22: | ||
|x1= <code>[[player]] [[call]] [[BIS_fnc_helicopterSeat]];</code> | |x1= <code>[[player]] [[call]] [[BIS_fnc_helicopterSeat]];</code> | ||
|seealso= [[moveInDriver]] | |seealso= [[moveInDriver]] [[crew]], [[BIS_fnc_helicopterSeatMove]] | ||
}} | }} |
Revision as of 22:38, 20 January 2022
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:
- moveInDriver crewBIS_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