BIS fnc helicopterSeat: Difference between revisions
Jump to navigation
Jump to search
(page filling) |
Lou Montana (talk | contribs) 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: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | unit call [[BIS_fnc_helicopterSeat]] |= Syntax | ||
|p1= | |p1= unit: [[Object]] - unit which should be checked. |= Parameter 1 | ||
|[[Number]]: | | [[Number]]: | ||
* -1: Not in a vehicle | |||
* 0: left seat | |||
* 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
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
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