_UI_PROMPT_SET_MASH_WITH_RESISTANCE_CAN_FAIL_MODE
For startProgress, 0.0f - 1.0f is a percentage value, so 0.5f = 50% progress. Range: 0.0f - 1.0f For decreaseSpeed, 0.0f will result in the prompt not showing the mash progress at all. 0.01f - ?.0f. At speeds around 7.0f to 8.0f the prompt basically fails immediately if you don't start mashing right away.
HUDBuild 1207
Signature
lua
UiPromptSetMashWithResistanceCanFailMode(prompt, 0, 0.0, 0.0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Prompt | — | |
| int | — | |
| float | — | |
| float | — |
Usage
lua
UiPromptSetMashWithResistanceCanFailMode(prompt, 0, 0.0, 0.0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
