BIS fnc baseVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 7/7)
m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>")
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Configs


|1.00|= Game version
|gr2= Vehicles
____________________________________________________________________________________________


| <pre>/*
|descr= Returns base vehicle (i.e., vehicle which is not just derivative of other with different textures / animations).
Author: Karel Moricky


Description:
|s1= class call [[BIS_fnc_baseVehicle]]
Return base vehicle (i.e., vehicle which is not jsut derivative of other with different texturesd / animations)
Parameter(s):
0: STRING - vehicle class
Returns:
STRING - vehicle class
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p1= class: [[String]] - vehicle class
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_baseVehicle]]; --> |= Syntax
|r1= class: [[String]] - base vehicle class
|p1= |= Parameter 1


| |= Return value
|x1= <sqf>["O_MBT_04_cannon_F"] call BIS_fnc_baseVehicle;</sqf>
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[typeOf]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Vehicles|{{uc:baseVehicle}}]]
[[Category:Functions|{{uc:baseVehicle}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:baseVehicle}}]]

Latest revision as of 20:02, 5 May 2022

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