Difference between revisions of "VN fnc tunnel spawn trap"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Created page with "{{Function |v= 1.00 |author=Ethan Johnson |a= |e= |g1= tunnel_functions |d= <pre>Spawns a trap and explodes it to kill the player and anyone around them.</pre> |s= [_obje...")
 
(No difference)

Latest revision as of 21:21, 26 April 2022

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): n/a
Effect(s): unknown

Description

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

Syntax

Syntax
[_object] call VN_fnc_tunnel_spawn_trap;
Parameters
_object: Object - (Optional, default OBJNULL) Object which will be used as the position to spawn the explosive at
Return value
Boolean - Function reached the end

Examples

Example 1
[tunnel] call vn_fnc_tunnel_spawn_trap;