MZ Puzzle Functions

FEATURES
This plugin adds some functions to use that may help with eventing puzzles and/or quests.

1. Self-switch flipping
Change self switches for any event from any event
Change self switches for events adjacent to other events
Specify turning these self switches off, on or flip them

2. Determine location without having to use Control Variables beforehand.
Test to see if an event or player is at an x,y location
Test to see if an event or player is at another event’s location

3. Group switch/self-switch checking
Test to see if a group of specified switches are on or off
Test to see if a group of events have a certain self switch on or off

4. Checking event activation order
Set a combination
Make events add combination values
Check if the player has activated the events in the right order set in the combination specified.

5. Multiple Item Checking
Check if there are multiple items, armors, weapons in inventory using code with only one conditional branch.

Simple examples of all of the above can be seen in the demo.

VERSION 1.1 – RPG Maker MZ
Download Plugin file


Download my master demo to view examples of this plugin from:
Galv’s MZ Plugins Home


Advertisement

5 thoughts on “MZ Puzzle Functions

  1. ilookedeverywhere says:

    Hello, this plugin is working great. Thank you! I’m having an error when I use the self switches script:

    Galv.PUZ.switch(‘event’,’A’,’on’,3);

    When I play, I get the error: Reference Error A is not defined

    Is there something I’m doing wrong?

    • ilookedeverywhere says:

      Oh, I’m sorry I figured out what I did wrong. I had a script call later that didn’t have quotes around ‘A’ and that was the problem. Thanks for the plugin!

  2. poatd says:

    Hey, love the plugin think it’s going to solve a lot of problems for me.

    I wondered is it possible to use the script, that it picks up an undefined event that is located in the same location as the target event and then pulling information such as the event ID, direction of the event, what self-switches it has active to be put into variables?

Leave a Reply to ilookedeverywhere Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s