RPG Maker Forums

A new script of mine for you
 
Szyu's StateConditions
 
 
Introduction
This script allows you to add conditions to states, which must be met before the states features will invoke (i.e. Counterattack).

Get at Pastebin
Pastebin
 
How to Use
Simply put this to the states notes

<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. 

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,037
Messages
1,018,464
Members
137,821
Latest member
Capterson
Top