Difference between revisions of "VN ms fnc addTeleportAction"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "]]; |p1n=" to "]] |p1n=") |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 6: | Line 5: | ||
|author= Wyqer, veteran29 | |author= Wyqer, veteran29 | ||
− | |a= | + | |a= global |
− | |e= | + | |e= local |
|g1= general | |g1= general | ||
− | |d= | + | |d= Adds action to teleport action caller to his group leader - uses [[VN_ms_fnc_aoTeleport]]. |
− | |||
− | |||
− | + | |s= [gate] call [[vn_ms_fnc_addTeleportAction]] | |
− | |||
− | + | |p1n= gate | |
− | + | |p1t= object | |
− | + | |p1d= teleportation object | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |p1n= | ||
− | |p1t= | ||
− | |p1d= | ||
|p1v= | |p1v= | ||
Line 40: | Line 25: | ||
|p2v= | |p2v= | ||
− | |r1t= | + | |r1t= boolean |
− | |r1d= | + | |r1d= function's success |
+ | |||
+ | |x1= <code>[sogFlag] call [[VN_ms_fnc_addTeleportAction]];</code> | ||
− | | | + | |x2= <code>[{{Biki|player}}] call [[VN_ms_fnc_addTeleportAction]];</code> |
}} | }} |
Revision as of 12:43, 22 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Adds action to teleport action caller to his group leader - uses VN_ms_fnc_aoTeleport.
Syntax
- Syntax
- [gate] call vn_ms_fnc_addTeleportAction
- Parameters
- gate: Object - teleportation object
- Return value
- Boolean - function's success
Examples
- Example 1
[sogFlag] call VN_ms_fnc_addTeleportAction;
- Example 2
[player] call VN_ms_fnc_addTeleportAction;