Difference between revisions of "cmf enhancedVehicles fnc offroading"

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 handles offroading effects for enhancedVehicles. It is automatically called from...")
 
 
(One intermediate revision by the same user not shown)
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
Line 21: Line 21:
|x1= {{code|lang=scilab|[_myVehicle] call cmf_enhancedVehicles_fnc_offroading;}}
|x1= {{code|lang=scilab|[_myVehicle] call cmf_enhancedVehicles_fnc_offroading;}}


|event1= {{!}} LOCAL {{!}}{{!}} cmf_enhancedVehicles_enableOffroad {{!}}{{!}} [vehicle] {{!}}{{!}} Is raised when the vehicle is enabled with the offroad component.
|seealso= [[cmf_enhancedVehicles_fnc_autoInit]] [[cmf_enhancedVehicles_fnc_getSurfaceParams]] [[cmf_enhancedVehicles_fnc_init]]
|event2= {{!}} LOCAL {{!}}{{!}} cmf_enhancedVehicles_onOffroad {{!}}{{!}} [vehicle] {{!}}{{!}} Is raised when the vehicle is offroad.
[[cmf_enhancedVehicles_fnc_localEffect]] [[cmf_enhancedVehicles_fnc_medicalHandler]]
 
|event1= {{!}} UNITLOCAL {{!}}{{!}} cmf_enhancedVehicles_enableOffroad {{!}}{{!}} [vehicle] {{!}}{{!}} Is raised when the vehicle is enabled with the offroad component.
|event2= {{!}} UNITLOCAL {{!}}{{!}} cmf_enhancedVehicles_onOffroad {{!}}{{!}} [vehicle] {{!}}{{!}} Is raised when the vehicle is offroad.
}}
}}

Latest revision as of 21:41, 17 December 2022


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