<state_condition: id>Example
<state_condition: 5>
The state with this note would only invoke its features, if the target has the state with id 5. If state 5 is removed, this state will also be removed.
For independent state_conditions, use the following syntax:
<state_condition: id, independent>Example
<state_condition: 6, independent>This state can only be applied, if state 6 is already applied to the target. If state 6 is removed, this state will stay applied because of the independent statement.
Credits
Credits to Szyu if you plan to use this script.
Changelog
- Fixed a major bug which causes state conditions not to work as intended- Added new function: States with conditions are removed, if a condition state is removed- Added independent state. If a state condition is independent, the state will stay applied even if the condition state is removedTerms of Use
You are free to use this script for commercial and non-commercial projects. However I'd like you to inform me of the projects you are planning to use it in, so I can keep track of where my scripts are used.