Help - Search - Members - Calendar
Full Version: Calling a Script
RPG RPG Revolution Forums > Scripting > Script Development and Support > RGSS2
Shaddow
I am looking to have a common event trigger whenever a game is loaded, I know this can be done using the conditional branch and script call, what I want to know is what I need to do to call script whenever the game is loaded. Any tips would be appreciated.

I'm trying to get it to call the load game script, in order to make it run a variable off a common event each time the game is loaded. I can do everything else, even found a potential solution, with a conditional branch in the common even and it's trigger is a script running, but I do not know what script to use there or how to call it correctly.....if that makes sense, still a bit confused on anything script related.
Philip
Ok, let me get this straight. You want a common event to run each time the game is loaded from a save?
Shaddow
Right, that is exactly what I am looking for.
markchapman10
QUOTE (Shaddowval @ Nov 5 2012, 07:25 PM) *
Right, that is exactly what I am looking for.


But would that not make it lag a little bit? Sorry to go off topic a little bit if I did. cool.gif
Shaddow
Probably but it's not a huge effect, basically what I'm wanting it to do is run a set of variables each time the game loads, this will cause the maps in the dungeon to change, depending on the variable. Kind of like how a mystery dungeon would work.
markchapman10
Sounds like you may need a random dungeon script.
edit: I wasnt paying attention... so I have no suggestion as to help//
Shaddow
Ah I forgot to post that didn't I? It is VX, but I may still be able to find what I need here. thanks for that,
markchapman10
QUOTE (Shaddowval @ Nov 5 2012, 09:16 PM) *
Ah I forgot to post that didn't I? It is VX, but I may still be able to find what I need here. thanks for that,

no point in posting the engine when this is in RGSS2 thread >_< my ignorance.

sry another edit: If its helpful your welcome, if not *face palm* lol.. I should have paid more attention. If you have some knowledge on the default scripts and some scripting knowledge, you may be able to piece something together.
Thallion
Just send me the Scene_Load script and I'll make it work. I just need to know what method to alias for VX (I use RPGXP).
Shaddow
I appreciate all the help everyone, Philip was able to provide me with a rather simple solution that works like a charm! Thanks again!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.