BIS fnc vehicleRoles: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <nowiki>[</nowiki>" to " [<nowiki/>") |
m (Text replacement - "\[\[Category\:Function Group\: Vehicles(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 41: | Line 41: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:vehicleRoles}}]] | [[Category:Functions|{{uc:vehicleRoles}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:vehicleRoles}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:vehicleRoles}}]] |
Revision as of 13:01, 12 October 2020
Description
- Description:
- Returns vehicle roles.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle call BIS_fnc_vehicleRoles
- Parameters:
- Object or String - vehicle itself or a classname
- Return Value:
- Array - to format [[role, path], [role, path], …] like this:
[ ["Driver",[]], ["Turret",[0]], ["Turret",[0,0]], ["Cargo",[0]], ["Cargo",[1]], (…) ]
Examples
- Example 1:
cursorObject call BIS_fnc_vehicleRoles;
- Example 2:
"B_MBT_01_cannon_F" call BIS_fnc_vehicleRoles;
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