Player.MoveTo(akTarget,afxOffset = -100,abMatchRotation = true) Game.ForceThirdPerson() int random = Utility.RandomInt(1,3) if(random ==1) akTarget.PlayIdle(IdleWounded_01) elseif random == 2 akTarget.PlayIdle(IdleWounded_02) Else akTarget.PlayIdle(IdleWounded_03) EndIf utility.Wait(3.0) Player.PushActorAway(akTarget,0)
What I have no idea is the math involved to calculate how to determine a position X distance away but directly behind the actor, regardless of his heading. Any math geniuses or just better educated people that can lend a hand?
Thanks,
- MM
