I'm making a game and when you change your armor the character's sprite changes as well. but I cant get the sprite to change after exiting your menu screen, I don't Know how to program in RGSS3 or i would make it my self. If it could activate a common event then it could be used for more then just sprite changing.
if any one could help me I would really appreciate it.
common event activation after exiting menu screen.
Started by BlueStar, May 04 2012 11:10 PM
common event menu.
3 replies to this topic
#1
Posted 04 May 2012 - 11:10 PM
#2
Posted 05 May 2012 - 04:03 AM
search for this piece of code, on line 19 of Scene_MenuBase:
def terminate
super
dispose_background
end
replace that with:
def terminate
super
dispose_background
$game_switches[99] = true
end
And edit the 99 to whatever switch you want to use.
Now go to the common event you want to use, and set it to 'autorun' or 'parallel process' with the required switch to the same one you used in the script.
At the end of the common event, be sure to flip the switch back off, for otherwise it'd loop infinitely.
def terminate
super
dispose_background
end
replace that with:
def terminate
super
dispose_background
$game_switches[99] = true
end
And edit the 99 to whatever switch you want to use.
Now go to the common event you want to use, and set it to 'autorun' or 'parallel process' with the required switch to the same one you used in the script.
At the end of the common event, be sure to flip the switch back off, for otherwise it'd loop infinitely.
- BlueStar likes this
#3
Posted 05 May 2012 - 07:33 AM
Awsome, thanks for the help. I really appreciate it. Im an ideat when it comes to script which is why I like rpg makers.
#4
Posted 09 May 2012 - 10:31 AM
[closed]
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users

This topic is locked








