dangit
Scriptname LBGQ30attackScript extends ReferenceAliasObjectReference Property GuardSpot Auto Scene Property LongEnough Auto Event OnUpdate() Actor Player = Game.GetPlayer() Actor NPC = GetActorReference() if GuardSpot.GetDistance(Player) <= 800;Debug.MessageBox("About to start combat!") NPC.Say(LongEnough) Utility.Wait(10)Debug.MessageBox("Roggard About to start combat!") NPC.StartCombat(Player) else ; TODO - if the player has gone far enough away, disable self, stop quest. Otherwise: RegisterForSingleUpdate(8) endifendEvent
Scriptname LBGQ30attackScript extends ReferenceAliasObjectReference Property GuardSpot Auto Scene Property AttackScene AutoEvent OnUpdate() Actor Player = Game.GetPlayer() Actor NPC = GetActorReference() if GuardSpot.GetDistance(Player) <= 800AttackScene.Start();Debug.MessageBox("About to start combat!") ; NPC.Say(LongEnough) Utility.Wait(10);Debug.MessageBox("Roggard About to start combat!") NPC.StartCombat(Player) else ; TODO - if the player has gone far enough away, disable self, stop quest. Otherwise: RegisterForSingleUpdate(8) endifendEvent