- Joined
- Sep 19, 2018
- Messages
- 23
- Reaction score
- 1
- First Language
- English
- Primarily Uses
- RMXP
So I have four common events that I want to run when four different characters level up, so I use this line of code:
$game_temp.common_event_id = [] if actor.id == [] (Replace the [] for the numbers) in Scene Battle 2 as well as Interpreter 6.
It works... as long as the characters aren't leveling up at the same time while in the active party (most notably when they level up due to a battle).
I have no idea how to fix this because I have the scripting know-how of a potato (I only know about this trick due to a forum post in Game Dev Unlimited and reading what little actual English there is in the scripts to figure out what location it would go in.)
All I can say is... help, please?
Edit: If you need my versions of the two scripts, I'll post them, but they're pretty much just the vanilla scripts sans adding this line:
to Scene Battle 2 at around line 184 and this line:
to Interpreter 6 at around line 205 four times, one after the other
$game_temp.common_event_id = [] if actor.id == [] (Replace the [] for the numbers) in Scene Battle 2 as well as Interpreter 6.
It works... as long as the characters aren't leveling up at the same time while in the active party (most notably when they level up due to a battle).
I have no idea how to fix this because I have the scripting know-how of a potato (I only know about this trick due to a forum post in Game Dev Unlimited and reading what little actual English there is in the scripts to figure out what location it would go in.)
All I can say is... help, please?
Edit: If you need my versions of the two scripts, I'll post them, but they're pretty much just the vanilla scripts sans adding this line:
Code:
$game_temp.common_event_id = [] if actor.id == []
Code:
if actor.id == []
$game_temp.common_event_id = []
end
Last edited:

