Skip to content

Revive & Medical

34 pages · all function themes

The advanced revive system: incapacitation, dragging/carrying, healing, reviving, and the Zeus medical modules.

FunctionDescription
VN_fnc_module_advancedRevive Master module function that starts the advanced revive system.
VN_fnc_revive_action_dragPlayer Main player dragging action function. Uses VN_fnc_revive_conversation and …
VN_fnc_revive_action_dragPlayer_client Client function for the dragging of a player, sets their animation & changes their direction to make sure they …
VN_fnc_revive_action_dropPlayer Main player dropping action function. Uses VN_fnc_revive_conversation and VN_fnc_revive_detachUnit.
VN_fnc_revive_action_grenade Player action function for grenade suicide.
VN_fnc_revive_action_heal Main player heal action function. Uses VN_fnc_revive_conversation.
VN_fnc_revive_action_loadPlayer Main player loading action function.
VN_fnc_revive_action_pickupPlayer Main player picking up action function. Uses VN_fnc_revive_conversation
VN_fnc_revive_action_respawn Main player respawn action function.
VN_fnc_revive_action_revive Main player revive action function.
VN_fnc_revive_action_roll Player action function for roll onto back function.
VN_fnc_revive_action_undragPlayer Main player undragging action function.
VN_fnc_revive_action_unloadPlayers Main player unloading action function.
VN_fnc_revive_action_withstand Main player withstand action function.
VN_fnc_revive_actions Master actions function, contains all the conditions for the advanded revive functions.
VN_fnc_revive_actions_local Local action function for downed units and AI.
VN_fnc_revive_addEventHandlers Master actions function, contains all the event handlers for the advanced revive functions.
VN_fnc_revive_conversation Main conversation function, remote execs dynamic audio function to clients. Uses VN_fnc_revive_dynamic_audio.
VN_fnc_revive_coreinit The main advanced revive core loop.
VN_fnc_revive_detachunit Takes unit and detaches any attached objects which are incapicated players / ai.
VN_fnc_revive_detachunit_local Client version of the detachunit function, uncons the player & fixes their animation.
VN_fnc_revive_dynamic_audio Play an audio file including long-distance (up to 200m from camera’s position) version if required, works for …
VN_fnc_revive_fix_movement Fixes the movement issues that occur with the incap animation system.
VN_fnc_revive_handleDamage Damage handler for the advanced revive. The unit is incapacitated if damage >= 0.9.
VN_fnc_revive_incap Checks if unit is incapacitated.
VN_fnc_revive_keyDown Key handler for the revive system. See also KeyDown EH.
VN_fnc_revive_mouseDown Mouse handler for the revive system. Does nothing, returns false.
VN_fnc_revive_moving Check function for checking that unit is not being moved/moving another unit.
VN_fnc_revive_setup_audio Revive audio setup function. Stores all the revive system sound classnames in a global Array named …
VN_fnc_revive_terminal_animation Plays revive animation for the specified unit.
VN_fnc_revive_zeus_heal Zeus healing module. Stops bleeding of the targeted unit.
VN_fnc_revive_zeus_revive Zeus revive module. Stops bleeding and incapacitated state of the targeted unit.
VN_fnc_revive_zeus_uncon Zeus unconscious module, sets the targeted unit unconscious via VN_fnc_revive_zeus_uncon_client.
VN_fnc_revive_zeus_uncon_client Zeus unconscious module client function. See VN_fnc_revive_zeus_uncon.