On my server, if the PC is teleporting into another part of the same area I just apply the "teleport in" effect with a set delay but if the PC teleports to a different area I run a pseudo-heartbeat script that checks every second to see if the PC is in a valid area using GetIsObjectValid() with GetArea(). While the PC object is transitioning it will return an invalid area, as soon as the area becomes valid have the heartbeat script apply the VFX.
-420
Modifié par 420, 14 octobre 2010 - 12:26 .