Difference between revisions of "VN fnc tunnel exit"
Jump to navigation
Jump to search
(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...") |
(No difference)
|
Latest revision as of 21:29, 26 April 2022
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
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;