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
664
Reaction score
556
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
664
Reaction score
556
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 Posts

Latest Profile Posts

Okay someone really needs to fix that broken railing, its a health hazard...

Is it strange that dropping acid is improving my game development?
I'm starting to wonder if I should go the Half Minute Hero route with my game. The character's main weapon is logistically way too strong. So I can't really let the player continuously grow it.... But if they had to build it up each time like HMH, that could work. Also it lets me take advantage of my randomly generated maps so much more. Hmm... This could work! :LZSexcite:

Forum statistics

Threads
99,203
Messages
962,999
Members
130,790
Latest member
neshas
Top