Difference between revisions of "VN fnc revive action pickupPlayer"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Page filling)
m (Fix)
 
Line 13: Line 13:
 
|d= Main player picking up action function. Uses [[VN_fnc_revive_conversation]]
 
|d= Main player picking up action function. Uses [[VN_fnc_revive_conversation]]
  
|s= [] call [[VN_fnc_revive_action_pickupPlayer]]
+
|s= [pickedUpUnit, type] call [[VN_fnc_revive_action_pickupPlayer]]
  
|p1n= draggedUnit
+
|p1n= pickedUpUnit
 
|p1t= object
 
|p1t= object
 
|p1d= the unit that the action is being performed on
 
|p1d= the unit that the action is being performed on

Latest revision as of 14:31, 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 picking up action function. Uses VN_fnc_revive_conversation

Syntax

Syntax
[pickedUpUnit, type] call VN_fnc_revive_action_pickupPlayer
Parameters
pickedUpUnit: 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_pickupPlayer;