Difference between revisions of "VN fnc revive action dragPlayer"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Lou Montana moved page VN fnc revive action dragplayer to VN fnc revive action dragPlayer: name standard)
m (Fix typo)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:TODO]]
 
 
{{Function
 
{{Function
  
Line 16: Line 15:
 
|s= [draggedUnit, type] call [[VN_fnc_revive_action_dragPlayer]]
 
|s= [draggedUnit, type] call [[VN_fnc_revive_action_dragPlayer]]
  
|p1n= draggerUnit
+
|p1n= draggedUnit
 
|p1t= object
 
|p1t= object
 
|p1d= the unit that the action is being performed on
 
|p1d= the unit that the action is being performed on
Line 31: Line 30:
  
 
|r1t= boolean
 
|r1t= boolean
|r1d= [[true]] when done
+
|r1d= {{Biki|true}} when done
  
 
|x1= <code>[cursorObject, 3] call [[VN_fnc_revive_action_dragPlayer]];</code>
 
|x1= <code>[cursorObject, 3] call [[VN_fnc_revive_action_dragPlayer]];</code>
 
}}
 
}}

Latest revision as of 13:55, 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

Main player dragging action function. Uses VN_fnc_revive_conversation and VN_fnc_revive_action_dragPlayer_client.

Syntax

Syntax
[draggedUnit, type] call VN_fnc_revive_action_dragPlayer
Parameters
draggedUnit: Object - the unit that the action is being performed on
type: Number - the type of performed action:
  • 1: action started
  • 2: action tick (see VN_fnc_holdActionAdd)
  • 3: action completed
  • 4: action interrupted
Return value
Boolean - true when done

Examples

Example 1
[cursorObject, 3] call VN_fnc_revive_action_dragPlayer;