Clicking the “Zone” button and then clicking and dragging out a square on your current Map will bring up the Zone window. The area within the resulting box will be affected by this Zone’s settings.
Zones can be selected using the Pointer tool and deleted be pressing the “Delete” key on your keyboard. You can also use the Pointer tool to move Zones by clicking the cyan section in the middle and positioning the cursor where you would like the Zone to go. You can also resize Zones by clicking and dragging on the white squares on their corners.
Shape – is used to toggle between rectangular Zones and polygonal Zones. Polygonal Zones are created by clicking on the Map to create points. As you continue clicking, more points will be created and a shape will start to form. To confirm your shape, double-click on the last point you created. This will bring up the Zone window. You can also use the Pointer tool to adjust the individual points of your polygonal Zone.
General
Display Name – is used to identify the Zone on the Map.
Scripting ID – is used to identify the Zone through scripting.
Position – sets the X/Y/Z coordinates of the Zone on the Map.
Size – sets the X/Y/Z size of the Zone in pixels.
Initially Disabled – when ticked, the Zone will not have any effect on the Map from the beginning. It will need to be turned on through a “Enable/Disable Zone” event.
Destination on Touch (Optional)
Map – the Map the player will be transported to if they collide with the Zone. If this is set to “(None)”, the player will not be transported, remaining in their current position on the Map.
Location – sets the X/Y/Z coordinates the player will be transported to when they collide with the Zone. Clicking this brings up a visual representation of the Map, mentioned above, where you can choose a tile for the player to transport to.
Blocking
Act as Blocking as well – when ticked, the Zone will stop the player moving into the Zone.
Edit Blocked Templates – brings up a list of tick boxes for Actor Templates. Any ticked template will be able to pass into the Zone when “Act as Blocking as well” is enabled.
Triggers
See the “Referencing Objects” section on the Script Editor page to learn about the global terms “relate”, “this”, “main” and “party” and how they can be used.
-
Action key pressed beside zone – runs the script when the action key is pressed next to the Zone.
-
Action key pressed above zone – runs the script when the action key is pressed above the Zone.
-
Damaged by actor – runs the script when the Zone is damaged by an Actor.
-
Collided with actor – runs the script when an Actor collides with the Zone.
-
Actor left – runs the script when an Actor has left the Zone.
-
Mouse Down – runs the script when the mouse button is pressed within the Zone.
-
Mouse Enter – runs the script when the mouse enters the Zone.
-
Mouse Move – runs the script when the mouse moves within the Zone.
-
Moves Leave – runs the script when the mouse leaves the Zone.
-
Mouse Up – runs the script when the mouse button is released within the Zone.
-
Complete Gesture – runs the script when the user completes a specified mouse gesture.