CaliburnAltais

Kamen Rider Altais
Member
Joined
Oct 25, 2012
Messages
18
Reaction score
2
First Language
Portuguese
Primarily Uses
....

I try make a event that haves a condition of if the leader haves a skill or a specific set of skills the event will begin deleted, like a bush that will burn if the leader haves a fire spell or cutting skill.

i have try put "$game_party[0]==$game_skill[29]", "$game_party[0].skills.include?($data_skills[29])==true" but all they don't work, always gives the condition as true and deletes the event even if the skill is not learned

I try to do a event that burn when the leader haves the skill 20,21,22 or 23 and a event that burn if haves 24 and 25 at same time

Some one can say who is the exact script call to use in the conditional branch? plz
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,104
Reaction score
7,994
First Language
German
Primarily Uses
RMMV
Please post a screenshot of your event, that will help a lot.

There are several ways to have an event disappear on certain conditions, and it depends on the timing and/or triggering of the event what would be the best solution.
 

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,797
Reaction score
865
First Language
German
Primarily Uses
This doesn't need a script. In your event you can do a conditional branch with (Page 2) "Actor -> Skill learned".

Also, the script call you are looking for is

Code:
$game_party.leader.skill_learn?($data_skills[<skill id>])
 
Last edited by a moderator:

CaliburnAltais

Kamen Rider Altais
Member
Joined
Oct 25, 2012
Messages
18
Reaction score
2
First Language
Portuguese
Primarily Uses
Thanks lavra it really helps

Then if i put: 

$game_party.leader.skill_learn?($data_skills[29])||$game_party.leader.skill_learn?($data_skills[30])the condition will only be true if the leader haves the skill 29 and 30

if i put:

$game_party.leader.skill_learn?($data_skills[29])&&$game_party.leader.skill_learn?($data_skills[30])will only begin true if the leader haves both

Right?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,104
Reaction score
7,994
First Language
German
Primarily Uses
RMMV
the condition will only be true if the leader haves the skill 29 and 30


Right?
You mistyped. The first variant is true if the leader has skill 29 OR skill 30, not and.
 

Latest Threads

Latest Profile Posts

Valentines Entry, first contest I'm in and it is so much fun to just participate!
Anatomy is really hard. I'm not an artist.
just destroyed hours of work again. i don't know why I bother.
World Map for the inside of my main character's head. Every spot is an area that either occupies his thoughts or staples of everyone's "headspace"

Forum statistics

Threads
109,000
Messages
1,041,152
Members
141,468
Latest member
WinnerVincent
Top