VN_fnc_tunnel_spawn_trap
Jump to navigation
Jump to search
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
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;