Piotr
Member
Hi guys,
I came up with the idea of making a bit more sophisticated teleporters, so instead of using the Teleporter item, I've been trying to work something out with xmlspawner. I started with a quite simple dungeon.
Here comes the trouble...
If not engaged in combat, the teleporter works instantly. And this is fine, just as intended.
SETONTRIGMOB/x/23/y34/z/0/MSG/*you find your way out of the dungeon*
But!
What I'm trying to accomplish is that when a player is engaged in combat, there's a delay to exit the dungeon.
How would I like it to work:
1. If a player is engaged in combat and steps on the teleporter spawner, it pops a message: *you're trying to exit the dungeon*
2. The player must remain still on the tile for 8 seconds to succesfully exit the area.
3. If the player moves away from the tile, the countdown breaks and he has to try again.
Is it possible to make it work like this with xmlspawner?
I came up with the idea of making a bit more sophisticated teleporters, so instead of using the Teleporter item, I've been trying to work something out with xmlspawner. I started with a quite simple dungeon.
Here comes the trouble...
If not engaged in combat, the teleporter works instantly. And this is fine, just as intended.
SETONTRIGMOB/x/23/y34/z/0/MSG/*you find your way out of the dungeon*
But!
What I'm trying to accomplish is that when a player is engaged in combat, there's a delay to exit the dungeon.
How would I like it to work:
1. If a player is engaged in combat and steps on the teleporter spawner, it pops a message: *you're trying to exit the dungeon*
2. The player must remain still on the tile for 8 seconds to succesfully exit the area.
3. If the player moves away from the tile, the countdown breaks and he has to try again.
Is it possible to make it work like this with xmlspawner?