BIS fnc baseVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Configs
|gr1= Configs
Line 9: Line 8:
|gr2= Vehicles
|gr2= Vehicles


| Returns base vehicle (i.e., vehicle which is not just derivative of other with different textures / animations).
|descr= Returns base vehicle (i.e., vehicle which is not just derivative of other with different textures / animations).


| class call [[BIS_fnc_baseVehicle]]
|s1= class call [[BIS_fnc_baseVehicle]]


|p0= class: [[String]] - Vehicle class
|p1= class: [[String]] - vehicle class


| class: [[String]] - Vehicle class
|r1= class: [[String]] - base vehicle class


|x1= <code>["O_MBT_04_cannon_F"] [[call]] [[BIS_fnc_baseVehicle]];</code>
|x1= <code>["O_MBT_04_cannon_F"] [[call]] [[BIS_fnc_baseVehicle]];</code>

Revision as of 13:47, 13 June 2021

Hover & click on the images for description

Description

Description:
Returns base vehicle (i.e., vehicle which is not just derivative of other with different textures / animations).
Execution:
call
Groups:
ConfigsVehicles

Syntax

Syntax:
class call BIS_fnc_baseVehicle
Parameters:
class: String - vehicle class
Return Value:
class: String - base vehicle class

Examples

Example 1:
["O_MBT_04_cannon_F"] call BIS_fnc_baseVehicle;

Additional Information

See also:
typeOf

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