Difference between revisions of "cmf enhancedVehicles fnc offroading"
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 handles offroading effects for enhancedVehicles. It is automatically called from...") |
|||
Line 7: | Line 7: | ||
|version2=2.1.0 | |version2=2.1.0 | ||
|descr=This function handles offroading effects for enhancedVehicles. It is automatically called from [[cmf enhancedVehicles fnc init]] unless disabled in [[cmf_config.hpp]]. | |descr=This function handles offroading effects for enhancedVehicles. It is automatically called from [[cmf enhancedVehicles fnc init]] unless disabled in [[:Category:CMF3: Config|cmf_config.hpp]]. | ||
|exec=Call | |exec=Call |
Revision as of 14:09, 17 December 2022
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