API ReferenceGE ExtensionsflowgraphnodesgameplayrecoveryPrompt
Set Recovery Prompt Limits
**File:** `flowgraph/nodes/gameplay/recoveryPrompt/setRecoveryPromptLimit.lua`
File: flowgraph/nodes/gameplay/recoveryPrompt/setRecoveryPromptLimit.lua
Description: Sets a limit to the amount a button can be used in the recovery prompt. If no uses are left, the button still shows (if it is active), but cannot be pressed anymore and is grayed out. Use -1 for unlimited.
Category: once_instant Dependencies: gameplay_walk
Input Pins
| Name | Type | Description |
|---|---|---|
resetCounts | bool | If set, will also set all used-counts to 0. |
flipMission | number | If 'Flip upright' should be limited. Use this for missions. |
recoverMission | number | If 'Recover' should be limited. Use this for missions. |
submitMission | number | If 'Submit Score' should be limited. Use this for missions. |
restartMission | number | If 'Restart Mission' should be limited. Use this for missions. |
Methods
C:init()C:workOnce(args)C:drawMiddle(builder, style)
See Also
- Get Recovery Prompt Button Limit and Count - Related reference
- On Recovery Prompt Action - Related reference
- Set Recovery Prompt Active - Related reference
- FlowGraph Guide - Guide