RMMV Calling Common Event in passive states using YEP_BuffStatesCore and YEP_AutoPassiveStates

Zakarijah

I love making maps!
Veteran
Joined
Aug 18, 2019
Messages
153
Reaction score
21
First Language
English
Primarily Uses
RMMV
I'm trying to create a passive state in battle that cycles through a battle bonus at the end of each individual character action.

The state is invisible, never goes away, and is only ever active in battle

I have the common event set up and ready to go

But I have ZERO idea what I'm supposed to put inside the passive state's notetags for it to call a common event.

And I also don't understand how to make a state only last for a single character 'action' instead of an entire turn.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,423
Reaction score
2,518
First Language
English
Primarily Uses
RMMZ
Try $gameTemp.reserveCommonEvent(id).

Also you can either set the state's auto-remove timing to be "on action end" rather than "on turn end" in the database, or in your state's <Custom Action End Effect> put in a user.removeState(stateId) instead of having any auto-remove setting.
 

Zakarijah

I love making maps!
Veteran
Joined
Aug 18, 2019
Messages
153
Reaction score
21
First Language
English
Primarily Uses
RMMV
Try $gameTemp.reserveCommonEvent(id).

Also you can either set the state's auto-remove timing to be "on action end" rather than "on turn end" in the database, or in your state's <Custom Action End Effect> put in a user.removeState(stateId) instead of having any auto-remove setting.
where would I put $gameTemp.reserveCommonEvent(id)?
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,423
Reaction score
2,518
First Language
English
Primarily Uses
RMMZ
Inside your <Custom Action End Effect> tag.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,423
Reaction score
2,518
First Language
English
Primarily Uses
RMMZ

Zakarijah

I love making maps!
Veteran
Joined
Aug 18, 2019
Messages
153
Reaction score
21
First Language
English
Primarily Uses
RMMV
Inside your <Custom Action End Effect> tag.
I'm unsure what happened but now it seems to not even show up in battle anymore... I tried setting the common event to trigger: none/auto/parallel and nothing seems to change (parallel makes it run endlessly).

And right before this is was working but not cycling through the actual bonus'...

Did I mess something up?
 

Attachments

  • Battle_Bonus_01.png
    Battle_Bonus_01.png
    171.9 KB · Views: 4
  • Battle_Bonus_02.png
    Battle_Bonus_02.png
    212.6 KB · Views: 4
  • Battle_Bonus_03.png
    Battle_Bonus_03.png
    114.2 KB · Views: 4

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,423
Reaction score
2,518
First Language
English
Primarily Uses
RMMZ
If it won't call the common event, just put the effect into the notetag instead. You can generate a random number and add the state in code.
 

Latest Threads

Latest Posts

Latest Profile Posts

Pretty much stopped posting in the progress thread cuz it feels like talking to the void, lol, so I've just been posting on IG instead. But someone finally liked my post there, lol. Dunno if I'll continue tho. Probably not xD

My game's progressing quite well. Just kinda stuck on mapping right now. Decided to go the side, slightly top down view route. I'm drawing everything from scratch for a personal touch uwu
Stomach isn't feeling too good last time. Perhaps something I ate
Phew! logged back. Seems I was too occupied with 3D learning (yeah for RPGM purposes) creating IRL space, trying to grow catnip, dealing with health and DC is good. (so MrC) ^^
Tyler.stewart wrote on Cherry's profile.
I was wondering if you've heard anything about the patch that allows you to show text anywhere on the screen utilizing pictures being upgraded to work with the official 2k3 release? Your work with 2k3 is awesome dude, keep it alive. I'm 33 and am still playing with 2k3 largely thanks to your work with the game engine. I appreciate the official patch updates you post. Please continue posting
Currently trying to add items in the same style as Kyrise's excellent icons. I like having a large variety of items :3 KyriseandMe.PNG

Forum statistics

Threads
112,333
Messages
1,067,471
Members
145,973
Latest member
Arcanica
Top