Closed Juansero29 closed 3 years ago
This should be done using ObjectSpawnTrigger. No SpawnUnkown tiles should be used. There should only be locations on where the items should be, then, at each map reset, the associated object to the object spawn trigger should be deleted and respawned. There's no way to reference an object spawn trigger in code for now.
This change can be included to all maps by changing all SpawnUnknown tiles to texts or ledges with the id SpawnUnknown, then recovering all this items' positions and using a objectspawntrigger to spawn the randomized items everywhere they're needed.