Vehicles, Aircraft & Turrets
35 pages · all function themes
Vehicle-specific scripts: doors and canopies, ejection, cockpit/MFD displays, switchable turrets, spare-ammo visuals, slingloading.
| Function | Description |
|---|---|
VN_fnc_bicycle_02_handle_pedals |
Handles animations of bicycle pedals. |
VN_fnc_bicycle_handle_pedals |
Handles animations of bicycle pedals. |
VN_fnc_fired_refuel |
Fired eventhandler which will delete the projectile and refuel the vehicle back to full fuel. |
VN_fnc_m151_towRackUpdate |
Hide spare TOW ammunition stored on M151 as rounds are fired. |
VN_fnc_masterArm |
Master arm master function, setups and creates the display and everything it needs. |
VN_fnc_masterArm_actions |
Adds Master Arm action to the player. |
VN_fnc_module_masterarm |
Master arm setup module function, uses VN_fnc_masterArm_actions. |
VN_fnc_radar_initDisplay |
Automatically initialised on the RscInGameUI onLoad event for shantou and ptf, this function is used to manage … |
VN_fnc_rsna75_initDisplay |
This function is initialized on the RscInGameUI onLoad event for the fan song; it is used to manage any kind … |
VN_fnc_rsna75_updateDisplay |
This function usage is defined by VN_fnc_rsna75_initDisplay and is used to once per second update UI elements … |
VN_fnc_switchableTurrets_canSwitch |
Check if unit can switch/is in specified turret class. |
VN_fnc_switchableTurrets_classToTurretPath |
Get turret path of given turret class name. Case sensitive! |
VN_fnc_switchableTurrets_crewChanged |
Detect crew changes in vehicle with switchable turrets. |
VN_fnc_switchableTurrets_init |
Initialize vehicle switchable turrets. |
VN_fnc_switchableTurrets_lock |
Lock vehicle turret. |
VN_fnc_switchableTurrets_switch |
Switch turret user action. |
VN_fnc_switchableTurrets_turretPathToConfig |
Get Turret config for given turret path. |
VN_fnc_tow_spareMagUpdate |
Hide spare TOW magazines. |
VN_fnc_vehicle_boat_horn_reload |
“Restocks” the “ammo” for the “horn”-weapon back to 2. triggered via Eventhandler [“fired”] |
VN_fnc_vehicle_emergency_flare |
Fire emergency flare into the air from a vehicle. |
VN_fnc_vehicle_spareAmmoUpdate |
Hide spare ammunition stored on a vehicle as rounds are fired. |
VN_fnc_vehicle_tail_number |
Adds random tail numbers to object and selections. |
VN_fnc_vn_ah1g_canopy |
Closes AH1G canopy doors |
VN_fnc_vn_ch34_engineEH |
Disable CH-34 engine if the rotors are folded. |
VN_fnc_vn_close_doors_on_exit |
When a player leaves the vehicle, close the relevant doors if they’re open. Fixes a bug whereby moveOut before … |
VN_fnc_vn_eject_crewmember |
Ejects a single crewmember as part of the vn_ejection_2 script. |
VN_fnc_vn_ejection_2 |
Adjusted BIS_fnc_planeEjection for the F/A-18F and some Unsung planes as these vehicles are two-seaters. |
VN_fnc_vn_f4_cockpit |
Function is initialized on the getIn event for F4. Function is used to manage any kind of UI manipulation … |
VN_fnc_vn_f4_decals_numbers |
Applies random decal number to the vehicle |
VN_fnc_vn_f4_fired_gbu8 |
Handles F4 GBU-8 firing. Sets last GBU-8 fire time to current time. |
VN_fnc_vn_f4_optics_gbu8 |
No description added yet. |
VN_fnc_vn_uh1_doors |
Closes UH1 doors |
vn_fnc_vn_wheeled_doors |
Closes all doors in the vehicle |
vn_ms_fnc_addRopeAttachEH |
Adds event handler to given object to ensure same locality for slingloaded cargo. |
vn_ms_fnc_preventDestruction |
Adds event handler preventing destruction of the vehicle. Works only if vehicle is local to executing machine. … |