Difference between revisions of "VN ms fnc addTeleportAction"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - " |a= " to " |author= ")
m (Text replacement - "[[vn_" to "[[VN_")
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
Line 6: Line 5:
 
|author= Wyqer, veteran29
 
|author= Wyqer, veteran29
  
|e=
+
|a= global
 +
 
 +
|e= local
  
 
|g1= general
 
|g1= general
  
|d= <pre>/*
+
|d= Adds action to teleport action caller to his group leader - uses [[VN_ms_fnc_aoTeleport]].
    Author: Wyqer, veteran29
 
    Date: 2019-09-16
 
 
 
    Description:
 
        Adds action to teleport action caller to his group leader.
 
  
    Parameter(s):
+
|s= [gate] call [[VN_ms_fnc_addTeleportAction]]
        _object - Object to add the action for teleport [OBJECT, defaults to objNull]
 
  
    Returns:
+
|p1n= gate
        Function reached the end [BOOL]
+
|p1t= object
*/
+
|p1d= teleportation object
 
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
 
 
|s= [] call [[vn_ms_fnc_addTeleportAction]];
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
 
|p1v=
 
|p1v=
  
Line 38: Line 25:
 
|p2v=
 
|p2v=
  
|r1t=
+
|r1t= boolean
|r1d=
+
|r1d= function's success
 +
 
 +
|x1= <code>[sogFlag] call [[VN_ms_fnc_addTeleportAction]];</code>
  
|x1= <code>-</code>
+
|x2= <code>[{{Biki|player}}] call [[VN_ms_fnc_addTeleportAction]];</code>
 
}}
 
}}

Latest revision as of 17:36, 23 February 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): global
Effect(s): local

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;