coticka

Veteran
Veteran
Joined
May 30, 2015
Messages
76
Reaction score
10
First Language
English
Primarily Uses
RMMV
I've set the actors to have state 1 (death) as a passive state.
And in the state itself, I have-
<Custom Passive Condition>

if (user.mp / user.mmp <= 0.0) {

condition = true;

} else {

condition = false;

}
Which works as intended. The strange thing is that actors who are MP downed by enemies cannot be revived through any means. Only when you inflict the state yourself through forcing 0 MP (like an item) can they be revived. Which is strange. Any ideas why this is? Or something I missed?
 

glaphen

Veteran
Veteran
Joined
Jan 13, 2019
Messages
326
Reaction score
124
First Language
English
Primarily Uses
RMMV
Auto passive states can never be removed by any means if set to actors, ect, only equipment passives when removing equipment. Instead try making a passive that adds death when at 0 mp or something.

Actually I just realized what you wanted but when I test it myself it works perfectly, I just made attack do MP damage and change potions to heal MP and target dead allies making state 1 a global state with that exact code only, so not sure what your problem is, other plugin maybe but I tried with 150+ so. Even works with healing, you are trying to revive through health or mana increases and not remove state right?
 
Last edited:

coticka

Veteran
Veteran
Joined
May 30, 2015
Messages
76
Reaction score
10
First Language
English
Primarily Uses
RMMV
Ugh. Yep. It was Victor's ctb that was making this happen. When turned off it works as intended. That's annoying but I guess I'll look for another work around. Not sure what could be making it interact like that though. And unfortunately Leocode's auto states plugin just returns an error for 'invalid left-hand side in assignment'. So oh well. >_>
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

gundambison wrote on emelian65's profile.
updated with new code.. Hope this work
1675255888435.png
Been working on new characters and outfits, no bodysuit!
doesnt mean she's not mechanical :kaopride:
Sneak peek on what I'm working on (don't mind the tileset, it's placeholder)

1675253833587.png1675253693243.png1675253707818.png
Going to make my Anniebelle dolls into murderous cowards, when the lights go out they swarm, otherwise they flee and attack from a distance...
annieBelle.png

....just look at those beady little eyes. Terrifying! :kaoswt:

Stream for those who like to watch. :LZSwink:
So I sent my game demo to be entered into a game showcase. They asked if I had a website for my game. So I listed my game page here. I don't know if that will count or not.

Forum statistics

Threads
128,404
Messages
1,194,295
Members
168,926
Latest member
Zabikai
Top