BIS_fnc_assignPlayerRole
Jump to navigation
Jump to search
Description
- Description:
- Ensures the player can only get in the specific vehicle role.
- Execution:
- call
- Groups:
- Object Manipulation
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 Numbers - the turret path
- Return Value:
- Boolean - true when done
Examples
- Example 1:
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