BIS fnc helicopterSeat: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| tkoh | |game1= tkoh | ||
|version1= 1.00 | |||
| | |game2= arma3 | ||
|version2= 0.50 | |||
|gr1 = Helicopters | |gr1= Helicopters | ||
|Check if unit sits on right or left seat. | |descr=Check if unit sits on right or left seat. | ||
| unit call [[BIS_fnc_helicopterSeat]] | |s1= unit call [[BIS_fnc_helicopterSeat]] | ||
|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 | ||
* 1: right seat | * 1: right seat | ||
|x1= < | |x1= <sqf>player call BIS_fnc_helicopterSeat;</sqf> | ||
|seealso= [[moveInDriver]] | |seealso= [[moveInDriver]] [[crew]] [[BIS_fnc_helicopterSeatMove]] | ||
}} | }} | ||
Latest revision as of 12:53, 1 July 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:
Additional Information
- See also:
- moveInDriver crew BIS_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