Flare Region Events Download

Below is the Readme file for the script. You can also get the script by clicking the download link which will inturn take you to github.

All credit must be given to me: Adam Balan.

Scripts may be used in comercial games

Flare Region Events

Allows you to easily call common events on region touch. The same event can be called over multiple regions by passing in an array of regions.

How easy is it to use the script?

Set up an script event that has the following:

FlareRegionEvents.callCommonEvent(2, 2)

Now when a user touches region two, common event id two will be set off.

For multiple regions you can do:

FlareRegionEvents.callCommonEvent([3,4,7,8], 2)

Now when a player touches any of the regions specified common event 2 will fire.