waynee95's Plugin Collection [NEWEST: WAY_MenuBackgrounds]

xabileug

Veteran
Veteran
Joined
Jul 1, 2014
Messages
113
Reaction score
23
how to use the CustomOnEquipEval to change main character speed when equip fairy boots or fairy wing accessory? thanks.
 

waynee95

Lunatic Coder
Veteran
Joined
Jul 2, 2016
Messages
665
Reaction score
557
First Language
German
Primarily Uses
RMMV
@xabileug
Code:
<Custom On Equip Eval>
if (user.actorId() === $gameParty.leader().actorId()) {
$gamePlayer.setMoveSpeed(6);
}
</Custom On Equip Eval>

<Custom On Remove Equip Eval>
if (user.actorId() === $gameParty.leader().actorId()) {
$gamePlayer.setMoveSpeed(4);
}
</Custom On Remove Equip Eval>
Like this for example.

EDIT: We have to make sure to check if the actor that equips this item is the party leader or not.
 
Last edited:

Chazareth

Veteran
Veteran
Joined
Jul 18, 2016
Messages
134
Reaction score
22
First Language
English
Primarily Uses
RMMV
Is WAY_CustomOnEquipEval compatible with YEP_EquipCore? It says to place the plugin below YEP_EquipCore, so I would assume they are but the on equip evals I have set up are only running when YEP_EquipCore is turned off.
 

waynee95

Lunatic Coder
Veteran
Joined
Jul 2, 2016
Messages
665
Reaction score
557
First Language
German
Primarily Uses
RMMV
@Chazareth
I will send you a DM with a link to a demo project that you can use to recreate that issue. Then I can take a look at it.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

I always thought I was just really, really bad at communication, then the internet proceeds to say "lol no".
Almost 100,000 Threads! We should make a celebration. Make a 100K logo? :p
Cursed problem: Multiple language switches. Say, you want to switch to EN language from JP but you have no idea where the language switch in JP menu language.
Tonight I'm finally going to start putting the dungeons my team has made on grid paper into the engine. That's the final step of making the game world.
Yay! My new Doomsday machine..... er... "Heroic" machine is ready!
//pushes button :LZSexcite:
Uh oh what's that rumbling?!
// Game explodes :kaoback:
That's the fourth time this week! :kaolivid:
// Gets to work building next "Heroic" Machine. :LZSskeptic:

Forum statistics

Threads
99,430
Messages
965,190
Members
131,046
Latest member
bwabwa
Top