Quote:
Originally Posted by FrayedString
I would like to see these functions be called if a player (or mob) teleports on/off of an Item, rather than just walking. I was working on making some "trigger tiles" that would perform various actions when they were stepped on/off of and noticed that if players stepped onto the tile, then teleported off, that it would stay triggered. I ended up using a TimeStateCallback every .25 seconds to check if they were still on the tile, but I never came up with a good working solution for checking if the tile had been teleported on to.
|
Well, for teleported onto, you could modify the spell script to check the target, and if the target is one of your 'trigger' tiles, then it would be activated if targeted succesfully.
__________________
Vaughn Peterson,
Kate Maclellan,
Drew Cook,
William Soverino,
rest in peace.
|