Difference between revisions of "VN fnc revive action dragPlayer client"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (1 revision imported)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
 
|v= 1.00
 
|v= 1.00
  
|a= Ethan Johnson
+
|author= Ethan Johnson
 +
 
 +
|a= global
  
|e=
+
|e= global
  
 
|g1= advanced_revive_functions
 
|g1= advanced_revive_functions
  
|d= <pre>/*
+
|d= Client function for the dragging of a player, sets their animation &amp; changes their direction to make sure they face the correct direction.
        FILE: fn_revive_action_dragplayer_client.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Client function for the dragging of a player, sets their animation & changes their direction to make sure they face the correct direction
 
        PARAMETERS:
 
                (0): OBJECT - Unit which will play animation & be turned around
 
        RETURNS:
 
                NONE
 
*/
 
 
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
  
|s= [] call [[VN_fnc_revive_action_dragplayer_client]];
+
|s= [dragged] call [[VN_fnc_revive_action_dragPlayer_client]]
  
|p1n=
+
|p1n= dragged
|p1t=
+
|p1t= object
|p1d=
+
|p1d= dragged unit which will play animation &amp; be turned around
 
|p1v=
 
|p1v=
  
Line 40: Line 28:
 
|r1d=
 
|r1d=
  
|x1= <code>-</code>
+
|x1= <code>[cursorObject] call [[VN_fnc_revive_action_dragPlayer_client]];</code>
 
}}
 
}}

Latest revision as of 13:49, 30 January 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): global
Effect(s): global

Description

Client function for the dragging of a player, sets their animation & changes their direction to make sure they face the correct direction.

Syntax

Syntax
[dragged] call VN_fnc_revive_action_dragPlayer_client
Parameters
dragged: Object - dragged unit which will play animation & be turned around
Return value
Nothing

Examples

Example 1
[cursorObject] call VN_fnc_revive_action_dragPlayer_client;