Archived

This topic is now archived and is closed to further replies.

  • 0
Venomsoar

How to turn a switch on?

Question

Hi,

Okay I know the title is a little dumb. I know how to turn on a switch using an event. I want to know how to start the game off with switches automatically turned on using scripts. I have no idea about scripting; but I noticed that I've used scripts, in which you can turn on, or off switches from the script.

It's just that in my game, I need lots of switches turned on from the beginning; to trigger comment events at any time. Seems more easy and practical just to use the script to have switches turned on from the beginning rather than about 50 events running on a parallel process in the background constantly.

If you can help out, I will greatly appreciate it!

BTW I'm in no way a pro when it comes to even eventing never mind scripting. However, I have some basic knowledge about it and I am willing to learn.

Thank you!

Share this post


Link to post
Share on other sites

12 answers to this question

when making an event, on page 1 of the event command, click "Control Switches..." then select which switch you want to turn on. Simple as that ^^

Share this post


Link to post
Share on other sites

when making an event, on page 1 of the event command, click "Control Switches..." then select which switch you want to turn on. Simple as that ^^

Please read my post and not just the title please. :)

Share this post


Link to post
Share on other sites

Ah sorry xD so used to threads that arent so detailed. And wouldnt it just be as easy to make 1 event which turns the switches on and off when needed?

Share this post


Link to post
Share on other sites

Ah sorry xD so used to threads that arent so detailed. And wouldnt it just be as easy to make 1 event which turns the switches on and off when needed?

Hmm yeah I guess. Maybe I was over-thinking things.

Share this post


Link to post
Share on other sites

If that dosnt work then feel free to pm me : o

Share this post


Link to post
Share on other sites

I like your idea, Venomsour.

I have several common events that I'd like to always have running and are triggered when a switch is turned on. That switch turns on when you start the game normally, but not if I'm starting somewhere else during testing. Sometimes I'm chasing down bugs that don't exist because my common events aren't running!

Share this post


Link to post
Share on other sites
I want to know how to start the game off with switches automatically turned on using scripts. I have no idea about scripting; but I noticed that I've used scripts, in which you can turn on, or off switches from the script.

you don't need a script! use an autostart event at the very beginning of the game that will turn on the switch.

That switch turns on when you start the game normally, but not if I'm starting somewhere else during testing. Sometimes I'm chasing down bugs that don't exist because my common events aren't running!

the F9 switch/variable menu while playtesting is incredibly useful.

also:

read these

http://finalbossblue...d-variables-p1/

http://finalbossblue...d-variables-p2/

Share this post


Link to post
Share on other sites

I wrote a script because I was too lazy to change my events when I wanted to test different switches.

I also didn't want to mess around with the database/add new events for the purpose of testing, only to forget to revert the changes later.

celebrus likes this

Share this post


Link to post
Share on other sites

Edit: Nevermind, good job, Tsukihime.

Share this post


Link to post
Share on other sites

I wrote a script because I was too lazy to change my events when I wanted to test different switches.

I also didn't want to mess around with the database/add new events for the purpose of testing, only to forget to revert the changes later.

http://forums.rpgmak...est-play-setup/

Thanks alot. This is exactly what I wanted. Thanks!!!

:)

Share this post


Link to post
Share on other sites
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Share this post


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

  • Recently Browsing   0 members

    No registered users viewing this page.