Status
Not open for further replies.

GolvaeGames

Veteran
Veteran
Joined
Dec 15, 2014
Messages
140
Reaction score
85
First Language
English
Primarily Uses
RMMV
I am trying to create a state that will remove a skill while the actor has it, but then have the skill show up again once the state is removed. Using the seal skill command, the skill still appears in the actors list. I think I can use this tag -
<Custom Show Eval>
if (user.level > 50) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>
Where level would be changed to state, but I don't know how to do this.
 

Ebanyle

what
Veteran
Joined
Sep 2, 2016
Messages
350
Reaction score
211
First Language
Portuguese
Primarily Uses
RMVXA
Does it work if you replace it with "a.isStateAffected(x)"?
 

GolvaeGames

Veteran
Veteran
Joined
Dec 15, 2014
Messages
140
Reaction score
85
First Language
English
Primarily Uses
RMMV
You are a lifesaver thank you so much it worked perfectly. I switched the true/false, in case anyone else comes across this.
<Custom Show Eval>

if (user.isStateAffected(36)) {

visible = false;

} else {

visible = true;

}

</Custom Show Eval>
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
9,038
Reaction score
5,908
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

So got my hearing tested to see if it was the cause of my mishearing what people say. Test showed no problems but talked with the doctor about anxiety and ADHD causing hearing issues and she agreed and also added that some people hear things differently. With my anxiety cause I am in fight or flight I pay attention to all the sounds in the area so body knows when react. Can't pay attention to one source.
Welp, people are trying to quit my team because I can't code. Where's the dancing blob emoji when I need it?

Forum statistics

Threads
116,053
Messages
1,095,329
Members
151,410
Latest member
Reaper73
Top