I have a script that generates new events onto the current map from another map. The way that I use it, means that the player can create new events on the map, on multiple maps (place furniture)
I'd like to grab the event id of the newest item placed. I imagine event id's for maps are stored in an array, is there a way to check what the newest entry in that array is from an event script call?
Can I store the event id of the newest event into a variable?
Alternatively, is there a way to find out how many total events are on a given map? this would solve what I'm working on as well.
Thanks in advance.
I'd like to grab the event id of the newest item placed. I imagine event id's for maps are stored in an array, is there a way to check what the newest entry in that array is from an event script call?
Can I store the event id of the newest event into a variable?
Alternatively, is there a way to find out how many total events are on a given map? this would solve what I'm working on as well.
Thanks in advance.