Jump to content
Sign in to follow this  
RPGTheodor

Script on/off

Recommended Posts

I was wondering if it was possible to turn off and on different scripts at several points during mid-game. Whether it being via eventing or script.

 

Thanks in advance~

Share this post


Link to post
Share on other sites

You could do that via scripting, but only if you specify it in the script itself.

I'll produce an example.

Let's say you want your party name be "A" for half-game and then switch it to "B" by means of a switch.

You should go to the proper script and set something as follows:

 

class Game_Party
def name
if $game_switches[1] == true
 return "A"
else
 return "B"
end
end
 

In practice, it's really difficult to do if you aren't good at scripting.

Anyway, you could require some help in the proper section to modify the scripts you need to activate/stop via switch ;)

 

Jens

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted