I don't see any built in way to restrict an event's movement to a region or regions. The logic to implement this via script is trivial, but I'm having trouble with the specific details. For example, I see that events have properties of x and y, but I haven't located how to query the map with those values. Nor am I sure how I would refer to the event in the script.
If there's a built in way to do this, that's great -- I'd like to know how to do it. If there isn't, I could use some pointers on the scripting (the programming itself isn't a problem, its the specifics of the API).
If there's a built in way to do this, that's great -- I'd like to know how to do it. If there isn't, I could use some pointers on the scripting (the programming itself isn't a problem, its the specifics of the API).
