VN_fnc_tunnel_exit

From Savage Game Design Wiki
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;