VN_fnc_tunnel_exit

From Savage Game Design Wiki
Revision as of 21:29, 26 April 2022 by Slow (talk | contribs) (Created page with "{{Function |v= 1.00 |author=Ethan Johnson |a= |e= |g1= tunnel_functions |d= <pre>Exits the player from the tunnel, if the player entered then they will be placed on their...")
(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

Exits the player from the tunnel, if the player entered then they will be placed on their old position, if not then they will be teleported to the tunnel entrance object.

Syntax

Syntax
[_tunnel,_caller] call VN_fnc_tunnel_exit;
Parameters
_tunnel: Object - (Optional, default OBJNULL) Tunnel object which will be used to get the entry object.
_caller: Object - (Optional, default OBJNULL) Unit which is calling the action which will be teleported.
Return value
Boolean - Function reached the end.

Examples

Example 1
[tunnel, player] call vn_fnc_tunnel_exit;