BIS fnc helicopterSeat: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \|p1=([^ ]+) + \| *(\[\[Numb.+) * " to " |p1=$1 |r1=$2 ") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
||
Line 9: | Line 9: | ||
|gr1= Helicopters | |gr1= Helicopters | ||
|Check if unit sits on right or left seat. | |descr=Check if unit sits on right or left seat. | ||
|s1= unit call [[BIS_fnc_helicopterSeat]] | |s1= unit call [[BIS_fnc_helicopterSeat]] |
Revision as of 20:46, 13 June 2021
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
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