VN_fnc_tunnel_spawn_trap

From Savage Game Design Wiki
Revision as of 21:21, 26 April 2022 by Slow (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
← 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;