Hello, everyone! Just wanted to know how to do something with the plugin in the title. Basically I want to apply certain states if other ones are already affecting the target. So if "poison 1" is affecting the target, then next time I cast the same ability I want the target to be affected by "poison 2." The plugin in the title is supposed to do this, but I can't figure out how. You're supposed to write this in the notes of the "poison 0" state. The 0 state is like a placeholder that "decides" what state is to be applied.
if (a.isStateAffected(4)) {
5;
}
else {
4;
}
And it works, but just for going from "poison 1" to "poison 2." I can't make the states go from "poison 2" to "poison 3."
Please help me with this.
The page of the plugin is this one.
http://himeworks.com/2016/01/placeholder-states/
Oh, and I think this plugin is supposed to work with this other one:
http://himeworks.com/2015/11/overriding-states/
It just makes a state be able to erase other states.
if (a.isStateAffected(4)) {
5;
}
else {
4;
}
And it works, but just for going from "poison 1" to "poison 2." I can't make the states go from "poison 2" to "poison 3."
Please help me with this.
The page of the plugin is this one.
http://himeworks.com/2016/01/placeholder-states/
Oh, and I think this plugin is supposed to work with this other one:
http://himeworks.com/2015/11/overriding-states/
It just makes a state be able to erase other states.