State Displays
State DisplaysTo put values onto states and display them separately from the state turns you can use the following script calls.
battler.getStateDisplay(stateId)
- This returns whatever value is stored for the specified battler under
that specific state value.
- If there is no value to be returned it will return an empty string.
battler.setStateDisplay(stateId, value)
- This sets the display for the battler's specific state to whatever you
declared as the value.
- The value is best used as a number or a string.
battler.clearStateDisplay(stateId)
- This clears the display for the battler's specific state.
- In short, this sets the stored display value to an empty string.
I can't understand this part of skills and states core above. How to use them?
Can it display a custom variable of a sleazy declaration above (or below) the remaining rounds of a status? If so, can I get an example? If not, what is it used for?