BIS fnc assignPlayerRole: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
||
Line 4: | Line 4: | ||
| tkoh |Game name= | | tkoh |Game name= | ||
|1.00| | |1.00|Game version= | ||
|Eff= local |= Effect | |Eff= local |= Effect |
Revision as of 00:24, 30 August 2019
Description
- Description:
- Ensures the player can only get in the specific vehicle role.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [vehicle, role, path] call BIS_fnc_assignPlayerRole
- Parameters:
- vehicle: Object - targeted vehicle
- role: String - can be one of:
- "driver"
- "gunner"
- "commander"
- "cargo"
- "turret"
- path: Array or Number - the turret path
- Return Value:
- Boolean - true when done
Examples
- Example 1:
[myVehicle, "turret", [0, 1]] call BIS_fnc_assignPlayerRole;
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