call common event at end of battle

hoboayoyo

Villager
Member
Joined
Oct 29, 2016
Messages
10
Reaction score
1
Primarily Uses
Hi there I'm working on a small project in XP and would like to call common events at the end of every battle. I've searched many RPG maker forums and sites and XP is really out of date in terms of support, so all of the soloutions i found were for other versions of rpg maker.


I know the script would most likely go somewhere in Scene_battle1 but i have no idea what to put there.
The closest thing i found was


'$game_temp.reserve_common_event(id)'


can anybody direct me in how to call common event during the end of a battle?
 


Thanks


-Hoboayoyo
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,670
First Language
German
Primarily Uses
RMMV
please try the following - it is for later makers but there is a goot chance that it will also work in XP (can't test it there however)


1) make a parallel process common event with whatever functions you want to do.


2) at the end of the common event, controll OFF the switch that activates it.


3) in your battles, have the control ON switch at the first turn.


Parallel Processes should work only on map, not on screens (including battlescreens), so even if you turn on the parallel process at the beginning of the battle, it should not be processed until the battle has ended and you return to the map - but then it would be the very first thing to be processed.
 

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

Latest Threads

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,990
Members
137,562
Latest member
tamedeathman
Top