Difference between revisions of "cmf utility fnc clearVehicleCargo"

From cluster wiki
Jump to navigation Jump to search
(Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |descr=This function clears vehicle cargo on newly spawned vehicles. It is called automatically if en...")
 
 
Line 18: Line 18:


|x1= {{code|lang=scilab|[] call cmf_utility_fnc_clearVehicleCargo;}}
|x1= {{code|lang=scilab|[] call cmf_utility_fnc_clearVehicleCargo;}}
|seealso= [[cmf_utility_fnc_submitAAR]] [[cmf_utility_fnc_countDown]] [[cmf_utility_fnc_endLoadingScreen]] [[cmf_utility_fnc_freezeTime]]
[[cmf_utility_fnc_nearestPlayer]] [[cmf_utility_fnc_preventProne]] [[cmf_utility_fnc_restrictZeus]] [[cmf_utility_fnc_stripUnit]]


|var1= {{!}} GLOBAL {{!}}{{!}} Unit {{!}}{{!}} cmf_utility_clearCargo_vehicleDisable {{!}}{{!}} A [https://community.bistudio.com/wiki/Boolean Boolean] variable that when set to true will disable clearVehicleCargo of the vehicle
|var1= {{!}} GLOBAL {{!}}{{!}} Unit {{!}}{{!}} cmf_utility_clearCargo_vehicleDisable {{!}}{{!}} A [https://community.bistudio.com/wiki/Boolean Boolean] variable that when set to true will disable clearVehicleCargo of the vehicle

Latest revision as of 22:09, 17 December 2022


Hover & click on the images for description
Description
Description:
This function clears vehicle cargo on newly spawned vehicles. It is called automatically if enabled in cmf_config.hpp
Execution:
Call
Groups:
CMF3: utility
Syntax
Syntax:
[] call cmf_utility_fnc_clearVehicleCargo
Return Value:
None
Examples
Example 1:
[] call cmf_utility_fnc_clearVehicleCargo;
Additional Information
See also:
cmf_utility_fnc_submitAAR cmf_utility_fnc_countDown cmf_utility_fnc_endLoadingScreen cmf_utility_fnc_freezeTime cmf_utility_fnc_nearestPlayer cmf_utility_fnc_preventProne cmf_utility_fnc_restrictZeus cmf_utility_fnc_stripUnit
Internal Variables
Locality Namespace Name Description
GLOBAL Unit cmf_utility_clearCargo_vehicleDisable A Boolean variable that when set to true will disable clearVehicleCargo of the vehicle
GLOBAL Mission cmf_utility_clearCargo_disable A Boolean variable that when set to true will disable clearVehicleCargo globally
GLOBAL Unit cmf_utility_clearCargo_initialized A Boolean variable that is true when clearVehicleCargo has been initialized on vehicle
Events
No events
Notes