Difference between revisions of "VN fnc revive action withstand"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "]]; |p1n=" to "]] |p1n=") |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 8: | Line 7: | ||
|a= | |a= | ||
− | |e= | + | |e= global |
|g1= advanced_revive_functions | |g1= advanced_revive_functions | ||
− | |d= | + | |d= Main player withstand action function. |
− | |||
− | |||
− | |||
− | + | |s= [unused, type] call [[VN_fnc_revive_action_withstand]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |p1n= unused | |
− | + | |p1t= object | |
− | |p1n= | + | |p1d= (Optional, unused - defaults to {{Biki|player}}) the unit that the action is being performed on |
− | |p1t= | ||
− | |p1d= | ||
|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= | + | |r1t= boolean |
− | |r1d= | + | |r1d= {{Biki|true}} when done |
− | + | |x1= <code>[objNull, 3] call [[VN_fnc_revive_action_withstand]];</code> | |
− | |x1= <code> | ||
}} | }} |
Latest revision as of 17:43, 30 January 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Main player withstand action function.
Syntax
- Syntax
- [unused, type] call VN_fnc_revive_action_withstand
- Parameters
- unused: Object - (Optional, unused - defaults to player) 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
[objNull, 3] call VN_fnc_revive_action_withstand;