Skip to content

General (mission system)

23 pages · all function groups

FunctionDescription
vn_ms_fnc_addArsenalAction Adds arsenal action to given object, if VN arsenal is enabled.
vn_ms_fnc_addMissingRadio Adds a default radio to the player, if he doesn’t have a default, TFAR or ACRE radio equipped.
vn_ms_fnc_addRopeAttachEH Adds event handler to given object to ensure same locality for slingloaded cargo.
VN_ms_fnc_addTeleportAction Adds action to teleport action caller to his group leader - uses VN_ms_fnc_aoTeleport.
vn_ms_fnc_aiHeliTransport No description added yet.
VN_ms_fnc_aiHeliTransportAddAction Add skip AI insertion travel hold action.
VN_ms_fnc_aiHeliTransportSkip Skip AI insertion travel - uses the group leader’s vehicle. The fade to black lasts 1 second, the default …
VN_ms_fnc_aiSetSkill Configure unit skills. These are tuned for infantry jungle-fighting, and may not work as well on vehicle …
VN_ms_fnc_aoTeleport Teleports the player to the given position. Can spawn an ambient helicopter (uses VN_ms_fnc_spawnAmbHeli).
VN_ms_fnc_cacheLayer Toggle caching (disabling simulation) of editor layer.
vn_ms_fnc_casAirstrike Spawn CAS plane to bomb target position. The plane starts at marker “vn_cas_start” and despawns at …
VN_ms_fnc_createFlare Create ilumination flare on given position.
VN_ms_fnc_deleteWaypoints Remove all current group waypoints and reset their pathing.
vn_ms_fnc_driveOnEditorPath Order vehicle to follow the path created from objects placed in specified editor layer. Vehicle will start …
VN_ms_fnc_dropOrdnance Drop (air) ordnance from the provided vehicle.
vn_ms_fnc_enableSOGTraits Initialize SOG traits for player.
vn_ms_fnc_forceCampaignFace Forces the desired face to the player unit for the campaign.
vn_ms_fnc_hasItems Checks if given units have at least one of each given item in their inventory.
VN_ms_fnc_hideRespawnMarkers Hides all BI respawn markers for units.
VN_ms_fnc_isNear Checks if most (> 50%) or any (at least 1) of the units are inside a given radius from a given …
VN_ms_fnc_persistentPlayerGroups Prevents player groups from being deleted when the last group player unit disconnects from the server.
vn_ms_fnc_preventDestruction Adds event handler preventing destruction of the vehicle. Works only if vehicle is local to executing machine. …
VN_ms_fnc_spawnAmbHeli Spawn a helicopter (50m) in the air near a given position and let it fly away (towards [0,0,0]). The …