Difference between revisions of "VN fnc revive action dropPlayer"
Jump to navigation
Jump to search
vn>Unknown user m (Generated by LM_exportFunctionsToWiki.sqf) |
Lou Montana (talk | contribs) m (Lou Montana moved page VN fnc revive action dropplayer to VN fnc revive action dropPlayer: name standard) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | | | + | |author= Ethan Johnson |
+ | |||
+ | |a= global | ||
− | |e= | + | |e= global |
|g1= advanced_revive_functions | |g1= advanced_revive_functions | ||
− | |d= | + | |d= Main player dropping action function. Uses [[VN_fnc_revive_conversation]] and [[VN_fnc_revive_detachUnit]]. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |s= [] call [[ | + | |s= [draggedUnit, type] call [[VN_fnc_revive_action_dropPlayer]] |
− | |p1n= | + | |p1n= draggedUnit |
− | |p1t= | + | |p1t= object |
− | |p1d= | + | |p1d= the unit that the action is being performed on |
|p1v= | |p1v= | ||
− | |p2n= | + | |p2n= type |
− | |p2t= | + | |p2t= number |
− | |p2d= | + | |p2d= the type of performed action: |
+ | * 1: action started | ||
+ | * 2: action tick (see [[VN_fnc_holdActionAdd]]) | ||
+ | * 3: action completed | ||
+ | * 4: action interrupted | ||
|p2v= | |p2v= | ||
+ | |r1t= boolean | ||
+ | |r1d= {{Biki|true}} when done | ||
− | + | |x1= <code>[cursorObject, 3] call [[VN_fnc_revive_action_dropPlayer]];</code> | |
− | |||
− | |||
− | |x1= <code> | ||
}} | }} |
Latest revision as of 13:57, 30 January 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Main player dropping action function. Uses VN_fnc_revive_conversation and VN_fnc_revive_detachUnit.
Syntax
- Syntax
- [draggedUnit, type] call VN_fnc_revive_action_dropPlayer
- 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_dropPlayer;