Skip to content

Mission Setup & Parameters

14 pages · all function themes

Mission parameters, teleports, spectator, player traits, and layer caching.

FunctionDescription
VN_ms_fnc_addTeleportAction Adds action to teleport action caller to his group leader - uses VN_ms_fnc_aoTeleport.
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_enableSOGTraits Initialize SOG traits for player.
VN_ms_fnc_params_aimCoef Sets player’s VN aimCoef parameter (0.1 aiming coefficient). Is reapplied on player’s respawn.
VN_ms_fnc_params_arsenal Sets VN whitelisted arsenal enabled/disabled parameter.
VN_ms_fnc_params_difficulty Sets VN difficulty parameter and sets the weather server-side.
VN_ms_fnc_params_failOnWipe Sets VN mission failure on wipe parameter.
VN_ms_fnc_params_hints Sets VN hints parameter.
VN_ms_fnc_params_stamina Sets VN stamina parameter. Reapplied on player’s respawn.
VN_ms_fnc_params_teleportAction Sets VN teleport action at duty officer parameter.
VN_ms_fnc_persistentPlayerGroups Prevents player groups from being deleted when the last group player unit disconnects from the server.
vn_ms_fnc_spectator_enableClient Enable specatator and move player to spectator group.
vn_ms_fnc_spectator_enableServer Force target player into spectator.