EVENT OnEffectStart(Actor akTarget, Actor akCaster)if (akCaster == Game.GetPlayer() && akTarget.IsDead() == 1) if akCaster.IsWeaponDrawn() == 0 Game.ForceThirdPerson() Game.DisablePlayerControls(true, true, true, false, false, false, false) Game.Getplayer().playidle(IdleTest) Utility.Wait(3) Game.FadeOutGame(false, true, 3.0, 3.0) akTarget.Disable() Game.Getplayer().playidle(IdleStop_Loose) Utility.Wait(4) Game.Getplayer().playidle(Idle_wipebrow) Utility.Wait(2) Game.Getplayer().playidle(IdleStop_Loose) Game.EnablePlayerControls()endifendifEndEvent
Thing is, when i tried to include the moveto command :
Target.Moveto(WIDeadBodyCleanupCell)
I got this error :
type mismatch on parameter 1 (did you forget a cast?)
And i got absolutely no idea how to fix this, still at the same point after some google research. If someone can help me with that. Thanks.