[NEED HELP... again] Resetting self switches

● ARCHIVED · READ-ONLY
Started by Irather 6 posts View original ↗
  1. Yes, I am the guy who made a topic earlier about a checkpoint system. I should post this there, but I already wrote that I resolved my problem so probably noone would check that thread again.

    My problem before was this: http://forums.rpgmakerweb.com/index.php?/topic/30387-need-help-checkpoint-system/

    Now, what happens is demonstrated in the video below:

    https://www.youtube.com/watch?v=OZ47ZIAdBrI

    I could easily reset the switch (And I mean the grey switch on the map by that), but not the girl, because she was created by a self switch. Here are the event pages:





    Not sure if I was clear enough, Or I'm just stupid and there's a much easier method for achieving this. But please help me. 
  2. have a control self-switch A = OFF before the transfer command, but after the text message.


    The content will still be executed because the self-switch will be checked in the next frame only, and the player will be teleported by that time.
  3. Thanks for the reply.

    I have a main project, but it has personal things in it, so if I need help I usually recreate it in another demo project, and I post that on the forums. Well, this time I missed something important. So I recreated the main game again, but hopefully better.

    Here's the problem now:

    https://www.youtube.com/watch?v=e3geIaC77_c

    I would like to reset the whole thing after I respawn. Is that possible?

    Here are the events:

    Blue haired (Bottom) girl:





    The other girl is basically the same with an empty second page where she was given a graphic and Self Switch = A is turned on.

    The running guy:



    And the lever:



    It's really late here so expect answers from me only tomorrow. I hope until then a lot of people will help to me :)
  4. I'm not sure I completely understand what you are trying to do.  But if you simply need to reset a self switch without being inside that event, use the following script call:

    $game_self_switches[[1, 56, 'A']] = false

    The first argument (here, 1) should be the ID of the map the event you want to set a self switch for

    The second argument (56) should be the Event ID of the event you want to set it for.

    The third argument ('A') should be the Self Switch you want to set.  Be sure to include the ' marks.

    Finally, set it to "true" to turn the self switch ON or "false" to turn it OFF.

    I believe you can get rid of one of each bracket, as well as the spacing INSIDE the brackets, to make it

    $game_self_switches[1,56,'A'] = false if you need to save room.
  5. It worked!

    Thank you. :)
  6. 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.