I'd like to use a slightly altered version of this script call:
Yanfly.SpawnEventAt(mapId, eventId, x, y, preserved)
Rather than specific X and Y coordinates, I'd like the event to spawn at coordinates based on the player's location on the map. For example, one event will spawn 1 tile above the player, another will spawn 1 tile below the player, etc... the spawn trigger would be a common event, so the player may spawn these events at any time, regardless of their location.
Is there a way to achieve this using this (or any other) plugin without extensive scripting knowledge?
What I currently do as a workaround is having individual spawn events and an individual trigger common event for every map, which is doable, but feels redundant.
Yanfly.SpawnEventAt(mapId, eventId, x, y, preserved)
Rather than specific X and Y coordinates, I'd like the event to spawn at coordinates based on the player's location on the map. For example, one event will spawn 1 tile above the player, another will spawn 1 tile below the player, etc... the spawn trigger would be a common event, so the player may spawn these events at any time, regardless of their location.
Is there a way to achieve this using this (or any other) plugin without extensive scripting knowledge?
What I currently do as a workaround is having individual spawn events and an individual trigger common event for every map, which is doable, but feels redundant.