Juansero29 / SFDScripts

My Superfighters Deluxe Scripts
GNU Lesser General Public License v2.1
1 stars 3 forks source link

For some maps (Deep Cliff), it's necessary that the cover restarts itself after a round is finish via triggers #26

Closed Juansero29 closed 3 years ago

Juansero29 commented 3 years ago
Juansero29 commented 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.

Juansero29 commented 3 years ago

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.