WorldThingTeleported event or OnTeleport virtual?

Mon Jul 19, 2021 10:43 am

I've got a mod that does some stuff with actors right after they've teleported - adjusting momentum, resetting reactiontime, etc..

The only method I have right now for telling if a teleportation event has occurred is to constantly track their last position and see if the distance is longer than some arbitrary value that I think is farther than they could possibly move in one tic without a teleport. Obviously this is not very reliable.

I've tried the +TELEPORT flag but it seems to be cleared before anything can be done with it ZScript-side.

Re: WorldThingTeleported event or OnTeleport virtual?

Mon Jul 19, 2021 3:16 pm

Been there done that.