ceano Posted July 5, 2019 Share Posted July 5, 2019 Can any one see what is wrong with this script, it adds a dog whistle spell that lets you whistle on Meeko. But as soon as i use the "Dog Whistle" to call him i can no longer send him home (dismiss), he just follows me around even when i have got the message that "Your dog is going home"...and if i talk to him i have the hire/follow dialogue. Scriptname DogSummon extends ActiveMagicEffect Hidden Actor Property TundraMarshDog Auto Import Actor EVENT OnEffectStart(Actor akTarget, Actor akCaster) DogWhistle.play(Game.GetPlayer()) if (TundraMarshDog.IsInCombat()) TundraMarshDog.StopCombat() TundraMarshDog.StopCombatAlarm() endif dunPOITundraMarshDogQST.SetStage(100) if (dunPOITundraMarshDogQST.GetStage() < 100) dunPOITundraMarshDogQST.SetStage(100) endif if (TundraMarshDog.GetDistance(Game.GetPlayer()) > 4000) Float xPos = (1000 * Math.Sin(game.GetPlayer().GetAngleZ()+180)) Float yPos = (1000 * Math.Cos(game.GetPlayer().GetAngleZ()+180)) TundraMarshDog.MoveTo(Game.GetPlayer(), xPos, yPos, 0,True) endif TundraMarshDog.SetActorValue("WaitingForPlayer", 0) TundraMarshDog.evaluatePackage() ;TundraMarshDog.SetRelationshipRank(Game.GetPlayer(), 4) EndEvent Quest Property dunPOITundraMarshDogQST Auto Sound Property DogWhistle Auto Link to comment Share on other sites More sharing options...
ceano Posted August 12, 2019 Author Share Posted August 12, 2019 Bumping one time before i give up :wink: Link to comment Share on other sites More sharing options...
Recommended Posts