Deleting event if it isn't on passable terrain (Solved)

● ARCHIVED · READ-ONLY
Started by userlame 4 posts View original ↗
  1. I have a setup where events are spawned randomly across regions which also randomize the tiles, and sometimes these events spawn on walls and gaps. How do I delete any events if it isn't on passable terrain? Preferably just moving them to nearest passable but they have unfixed ID's so that's probably too complicated?
  2. Rather than doing that, I would look at whatever script you're using that spawns the events, and make sure they only spawn on passable terrain.
  3. Yes, silly me, Galv's spawner already does this. I just had it set up poorly.
  4. This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.