Difference between revisions of "cmf enhancedVehicles fnc init"
Jump to navigation
Jump to search
(Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |descr=This will initialize enhancedVehicles on a vehicle. |exec=Call |cmp=enhancedVehicles |s1=[V...") |
|||
Line 20: | Line 20: | ||
|x1= {{code|lang=scilab|[myVehicle] call cmf_enhancedVehicles_fnc_init;}} | |x1= {{code|lang=scilab|[myVehicle] call cmf_enhancedVehicles_fnc_init;}} | ||
|seealso= [[cmf_enhancedVehicles_fnc_autoInit]] [[cmf_enhancedVehicles_fnc_getSurfaceParams]] | |||
[[cmf_enhancedVehicles_fnc_localEffect]] [[cmf_enhancedVehicles_fnc_medicalHandler]] [[cmf_enhancedVehicles_fnc_offroading]] | |||
|var1= {{!}} GLOBAL {{!}}{{!}} Unit {{!}}{{!}} cmf_enhancedVehicles_isDead {{!}}{{!}} When true the vehicle is disabled | |var1= {{!}} GLOBAL {{!}}{{!}} Unit {{!}}{{!}} cmf_enhancedVehicles_isDead {{!}}{{!}} When true the vehicle is disabled | ||
|event1= {{!}} | |event1= {{!}} UNITLOCAL {{!}}{{!}} cmf_enhancedVehicles_enableEnhancedVehicles {{!}}{{!}} [vehicle] {{!}}{{!}} Is fired where vehicle is local when enhancedVehicles is initialized on a unit. | ||
|event2= {{!}} UNITLOCAL {{!}}{{!}} cmf_enhancedVehicles_onDead {{!}}{{!}} [vehicle, projectile, hitpoint] {{!}}{{!}} Is fired where vehicle is local when the vehicle is disabled (dead). | |||
}} | }} |
Latest revision as of 21:40, 17 December 2022
Description
- Description:
- This will initialize enhancedVehicles on a vehicle.
- Execution:
- Call
- Groups:
- CMF3: enhancedVehicles
Syntax
- Syntax:
- [Vehicle] call cmf_enhancedVehicles_fnc_init
- Parameters:
- Vehicle: Object - The vehicle to initialize with enhancedVehicles
- Return Value:
- None
Examples
- Example 1:
[myVehicle] call cmf_enhancedVehicles_fnc_init;
Additional Information
- See also:
- cmf_enhancedVehicles_fnc_autoInit cmf_enhancedVehicles_fnc_getSurfaceParams cmf_enhancedVehicles_fnc_localEffect cmf_enhancedVehicles_fnc_medicalHandler cmf_enhancedVehicles_fnc_offroading
Internal Variables
Locality | Namespace | Name | Description |
---|---|---|---|
GLOBAL | Unit | cmf_enhancedVehicles_isDead | When true the vehicle is disabled |
Events
Locality | Name | Variables | Description |
---|---|---|---|
UNITLOCAL | cmf_enhancedVehicles_enableEnhancedVehicles | [vehicle] | Is fired where vehicle is local when enhancedVehicles is initialized on a unit. |
UNITLOCAL | cmf_enhancedVehicles_onDead | [vehicle, projectile, hitpoint] | Is fired where vehicle is local when the vehicle is disabled (dead). |
Notes