BIS fnc assignPlayerRole: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "") |
||
Line 32: | Line 32: | ||
[[Category:Functions|{{uc:assignPlayerRole}}]] | [[Category:Functions|{{uc:assignPlayerRole}}]] | ||
[[Category:{{Name|tkoh}}: Functions|{{uc:assignPlayerRole}}]] | [[Category:{{Name|tkoh}}: Functions|{{uc:assignPlayerRole}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:assignPlayerRole}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:assignPlayerRole}}]] |
Revision as of 00:50, 18 January 2021
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 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