cmf_enhancedVehicles_fnc_offroading
Jump to navigation
Jump to search
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:
- See also needed
Internal Variables
- No internal variables
Events
Locality | Name | Variables | Description |
---|---|---|---|
LOCAL | cmf_enhancedVehicles_enableOffroad | [vehicle] | Is raised when the vehicle is enabled with the offroad component. |
LOCAL | cmf_enhancedVehicles_onOffroad | [vehicle] | Is raised when the vehicle is offroad. |
Notes