Better answer then, so people don't just have to sit and wait.
1. You can use an ondeath script. When a bot dies, the game first runs all ondeath scripts, then it removes all scripts that aren't running already. But your ondeath script can include a waiting time to maybe fade away the corpse, and finally destroy it.
2. Reset? You mean remove all trace of the player ever having been there? Not possible at the moment, but I could easily extend the loadmap call to reset it, if you can wait for the next update of the game.
3. You need to use a script with a random condition. Make three scripts called "teleportmap1", "teleportmap2", and "teleportmapDefault". When you wanted to go to a random map, just activate callScript "teleportmap", which will call all of those scripts in order, first checking each one's condition. And for the teleportmap1 and teleportmap2 you'd use the randomPercent condition, and for the teleportmapDefault you'd leave the condition empty.
|