Region Events


This script allows you to create “Region Events”. Basically, it allows you to turn an entire region into an event based on an existing event on your map.

For example, suppose you have some Region 1 tiles. Using this script, you can connect Region 1 to an event on the map. The result is called “Region Event 1”, and when you activate Region Event 1, it will run the event it is connected to.

Region events obey all event rules. They do not have a graphic, because they are simply regions on your map. Region events are useful when you want multiple tiles to all run the same event.


Script: download here


In the script editor, install this script below Materisls and above Main


Understanding Region Events

Region events obey event trigger rules. If the region event is activated by “action trigger”, then players must press the “OK” button in order to activate the event. Similarly, if the region event is activated by “player touch”, then the player can activate the event by walking onto the tile.

Region events obey priority rules. If the region event is “same as character”, then you can activate it when you stand in front of it. If the region event is “below character”, then you must stand on it to activate it.

Region events obey page conditions.

Creating Region Events


There are several ways to create a region event. One way is to note-tag the
map with

<region event: regionID eventID>

One region can only have at most one referenced event. For example, region 1
might reference event 2.

Multiple regions can reference the same event. For example, both region 1 and
region 2 might reference event 2.

Simply add more note-tags for each region as required.
An extended note-tag is also available for maps:

<region events>
  regionID: eventID
  regionID: eventID
</region events>

It is just an alternative if you prefer that over individual note-tags.

The second way to creating region events is to note-tag events themselves.
Create a comment, then note-tag it with

<region event: regionID>

Note that the event ID used will be the ID of this event.

Changing Region Events

Region events can be changed during the game using script calls:

change_region_event(regionID, eventID)


If you want to have region 1 reference event 3, you would make the script call

change_region_event(1, 3)

This means that when region event 1 is activated, it will run event 3.
To remove region event 1, you can use the script call


You may also like...

2 Responses

  1. Aaronjam says:

    Another essential reason to modify to solar power is the cost benefits it gives. Solar energy panels are designed for generating electricity for businesses, reducing or eliminating the necessity for traditional resources of energy. This might lead to significant savings on energy bills, particularly in areas with a high energy costs. Furthermore, there are numerous government incentives and tax credits accessible to companies that adopt solar energy, rendering it much more cost-effective and affordable.

    The technology behind solar power is not at all hard, yet highly effective. Solar panel systems are made of photovoltaic (PV) cells, which convert sunlight into electricity. This electricity may then be stored in batteries or fed straight into the electrical grid, with respect to the specific system design. So that you can maximize the many benefits of solar technology, it is essential to design a custom system that is tailored to your specific energy needs and requirements. This may make certain you have just the right components in position, such as the appropriate quantity of solar energy panels while the right style of batteries, to maximise your power efficiency and value savings.

    Understanding what a power broker represents alongside Matthew dagati.

  2. This is exactly what I’ve been needing for my game! There is one map in particular that required a great deal of duplicate eventing to get done what I needed. Now that you’ve made this, I should be able to make it much less of a load.

Leave a Reply

Your email address will not be published. Required fields are marked *