Long time reader, first time posting code so I'm hoping someone with more experience could let me know if there's a better way to do it?
So I would like to remove a problem Buzzard spawner from my existing world, similar to archived thread: https://forums.kleientertainment.com/forums/topic/113898-can-you-remove-buzzard-spawn-points/)
While trying to figure out how I found a method to remove Meteor spawns (posted by @ADM in https://forums.kleientertainment.com/forums/topic/125995-deleting-specific-meteor-spawners/). I altered the code for buzzard spawns and it seems to work fine with only one slight issue in that if a buzzard is flying overhead the shadow just stops moving and doesn't go away until disconnecting & restarting the server.
It's a 2 step process:
First use the Go Next command to teleport to the buzzard spawner you want to remove:
c_gonext("buzzardspawner")
Don't move after teleporting to the buzzard spawner you want to remove, run the following code:
VarSpawner = GetClosestInstWithTag({"buzzardspawner"} and {"CLASSIFIED"}, ThePlayer, 5) VarSpawner:Remove()
That's it, the buzzard spawner icon should be removed from the map and once you deal with any buzzards on the ground no more will spawn.
I look forward to any feedback, thank you