BIS fnc vehicleRoles: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...)
m (Text replacement - "{{Function" to "{{RV|type=function ")
Line 1: Line 1:
{{Function| arma3|1.00|gr1 = Vehicles| Returns vehicle roles.| vehicle call [[BIS_fnc_vehicleRoles]]|p1= [[Object]] or [[String]] - vehicle itself or a classname| [[Array]] - to format [<nowiki/>[role, path], [role, path], …] like this:
{{RV|type=function
| arma3|1.00|gr1 = Vehicles| Returns vehicle roles.| vehicle call [[BIS_fnc_vehicleRoles]]|p1= [[Object]] or [[String]] - vehicle itself or a classname| [[Array]] - to format [<nowiki/>[role, path], [role, path], …] like this:
<code>[
<code>[
["Driver",[]],
["Driver",[]],

Revision as of 11:39, 24 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Vehicles

Syntax

Syntax:
Syntax needed
Parameters:
Object or String - vehicle itself or a classname
Return Value:
Return value needed

Examples

Example 1:
cursorObject call BIS_fnc_vehicleRoles;
Example 2:
"B_MBT_01_cannon_F" call BIS_fnc_vehicleRoles;

Additional Information

See also:
See also needed

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