Skip to content
VN_fnc_tunnel_spawn_trap

VN_fnc_tunnel_spawn_trap

Spawns a trap and explodes it to kill the player and anyone around them.

Syntax

[_object] call VN_fnc_tunnel_spawn_trap;

Parameters

ParameterTypeDefaultDescription
_object ObjectOBJNULL Object which will be used as the position to spawn the explosive at

Return value

Boolean - Function reached the end

Examples

[tunnel] call vn_fnc_tunnel_spawn_trap;

Documented by Ethan Johnson.