Event OnEffectStart(Actor akTarget, Actor akCaster)Float AngleXFloat AngleYFloat AngleZFloat PosXFloat PosYFloat PosZAngleX = Game.GetPlayer().GetAngleX()AngleY = Game.GetPlayer().GetAngleY()AngleZ = Game.GetPlayer().GetAngleZ()PosX = Game.GetPlayer().GetPositionX()PosY = Game.GetPlayer().GetPositionY()PosZ = Game.GetPlayer().GetPositionZ()Game.GetPlayer().TranslateTo(PosX , PosY, PosZ , AngleX, AngleY, AngleZ , 10000, 0)EndEvent
I want to make the Player character to blink 50 units behind himself when this effect happens. There's also the issue of clipping into terrain or going through walls that I don't know how to fix.
I'm using TranslateTo instead of MoveTo because MoveTo lags the game.