Need help with turing lights on and off

● ARCHIVED · READ-ONLY
Started by hs1007 5 posts View original ↗
  1. Im using Khas Awesome Light Effects,

    and i want to make the lights to go on and off by pressing 'action' on it.

    the lights work by using event and putting [comment: light 0]

    I somehow made it to switch on by using self-switch, but i have no idea how to turn it off.

    Can anyone help me on how to make a basic on and off switch?
  2. "Control Self Switch" > "On" on the first event page to activate the second event page.

    "Control Self Switch" > "Off" on the second event page to deactivate it and return to the first event page.

    Just be sure to have that command after everything else the event page needs to do.
  3. Cadh20000 said:
    "Control Self Switch" > "On" on the first event page to activate the second event page.

    "Control Self Switch" > "Off" on the second event page to deactivate it and return to the first event page.

    Just be sure to have that command after everything else the event page needs to do.
    Thanks alot!

    it was this simple and i tried so many complecated ways.

    Love you!!
  4. No problem at all. Sometimes it is easy to overlook the obvious because we already have it in our heads that it must be complicated.
  5. 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.


    Next time you have trouble with a script, please post your question in the RGSSx Script Support forum, and include a LINK to the forum page or blog article where you got the script so people can read the author's full writeup.