cmf_enhancedVehicles_fnc_offroading

From cluster wiki
Jump to navigation Jump to search


Hover & click on the images for description
Description
Description:
This function handles offroading effects for enhancedVehicles. It is automatically called from cmf enhancedVehicles fnc init unless disabled in cmf_config.hpp.
Execution:
Call
Groups:
CMF3: enhancedVehicles
Syntax
Syntax:
[vehicle] call cmf_enhancedVehicles_fnc_offroading
Parameters:
vehicle: Object - The vehicle to enable offroading effects on.
Return Value:
None
Examples
Example 1:
[_myVehicle] call cmf_enhancedVehicles_fnc_offroading;
Additional Information
See also:
cmf_enhancedVehicles_fnc_autoInit cmf_enhancedVehicles_fnc_getSurfaceParams cmf_enhancedVehicles_fnc_init cmf_enhancedVehicles_fnc_localEffect cmf_enhancedVehicles_fnc_medicalHandler
Internal Variables
No internal variables
Events
Locality Name Variables Description
UNITLOCAL cmf_enhancedVehicles_enableOffroad [vehicle] Is raised when the vehicle is enabled with the offroad component.
UNITLOCAL cmf_enhancedVehicles_onOffroad [vehicle] Is raised when the vehicle is offroad.
Notes