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,147
Reaction score
8,009
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
866
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,147
Reaction score
8,009
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 Posts

Latest Profile Posts

Interesting week. Lots of stress and anxiety especially on Tuesday but still got thru it. How is everyone doing?
I was pleased with how the little ... whatever those square bits like upside-down turrets on the skirt are? I like how they turned out. Here's a little ranger/bandit/archery enthusiast to model it:

TestChara-08.gif


I'm calling her Robin because obviously.
Just downloaded the demo and boy howdy are my arms tired (???) :kaohi:
I just watched a trailer for the upcoming 2021 JRPG Fantasian. They demonstrated an interesting mechanic where random encounters can be sent to a stockpile instead of fighting them right away, which can be emptied in a single battle string at the player's choice of timing.
"The pleasure from the senses seems like nectar at first, but it is sour as the toxin in the end." -Kirshna

Forum statistics

Threads
109,156
Messages
1,042,600
Members
141,656
Latest member
drackdragon113
Top