Hi everyone, and in particular @Yanfly if you are available.
I'm having a particular issue :
With this code, I try to copy the data stored in the note tag of the spawner into the note tag of the spawned event.
This works, for the first one. Then if an other event spawner do the same, it will replace the notes of first AND the second spawned event.
If I do it third time, it will also replace all previous notes of all previous spawned event.
I do it in an autorun event to be sure.
The $gameMap.LastSpawnedEventID() in each spawner is working fine, since I put text box to control all the value, so at first, it works, then after, everything change like said before.
I tried using transitional variable, it's useless because it works fine with one line, but I wanted to be sure.
I'm having a particular issue :
Code:
$gameMap.event($gameMap.LastSpawnedEventID()).event().note = $gameMap.event(this.eventId()).event().note
With this code, I try to copy the data stored in the note tag of the spawner into the note tag of the spawned event.
This works, for the first one. Then if an other event spawner do the same, it will replace the notes of first AND the second spawned event.
If I do it third time, it will also replace all previous notes of all previous spawned event.
I do it in an autorun event to be sure.
The $gameMap.LastSpawnedEventID() in each spawner is working fine, since I put text box to control all the value, so at first, it works, then after, everything change like said before.
I tried using transitional variable, it's useless because it works fine with one line, but I wanted to be sure.