Skip to content

World Interaction & Tunnels

14 pages · all function themes

Tunnel entrances and traps, waterfalls and burnable huts.

FunctionDescription
VN_fnc_burnit_action Function called when user uses the “Burn Hut” action on a building
VN_fnc_fruit_destruct Play random hit sound. Sound can be customized by providing file path in 2nd parameter.
VN_fnc_fruit_hitPart Handles damage dealt to fruits.
VN_fnc_module_tunnel Tunnel entrance module.
VN_fnc_module_tunnel_init Function initializes a tunnel.
VN_fnc_module_water_fall No description added yet.
VN_fnc_tunnel_aperture Sets the aperture of the users view camera which makes tunnels darker in the day without affecting other …
VN_fnc_tunnel_exit Exits the player from the tunnel, if the player entered then they will be placed on their old position, if not …
VN_fnc_tunnel_init_actions Client side actions function, includes action.
VN_fnc_tunnel_spawn_trap Spawns a trap and explodes it to kill the player and anyone around them.
VN_fnc_tunnel_spawn_units Spawns units in a single group in the groupt of tunnels provided to the function.
VN_fnc_tunnel_trigger No description added yet.
VN_fnc_vn_sniper_tree_init Function called when the sniper tree is initilized at mission start. Will only run once per tree.
VN_fnc_water_fall Main function for the water fall module.