This has been giving me fits for a long time.
Is there a way I can retrieve an Event (that is, one of the Events on the current $gameMap, in Object form) if I know its Event ID?
I need to retrieve the event object to get some of its properties, such as its _x value.
I would prefer a solution that doesn't require looping through every event on the map to check its Event ID, for performance reasons (as this functionality is already inside a loop that repeats a bunch). However, if this is the only way to do it, I'll appreciate your help in setting up this loop (since I might be unclear on what the $gameMap.events() array actually holds).
Thank you!!
Is there a way I can retrieve an Event (that is, one of the Events on the current $gameMap, in Object form) if I know its Event ID?
I need to retrieve the event object to get some of its properties, such as its _x value.
I would prefer a solution that doesn't require looping through every event on the map to check its Event ID, for performance reasons (as this functionality is already inside a loop that repeats a bunch). However, if this is the only way to do it, I'll appreciate your help in setting up this loop (since I might be unclear on what the $gameMap.events() array actually holds).
Thank you!!