Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scriptname dunPOITundraMarshDogSCRIPT extends ObjectReference
- Quest Property myQuest Auto
- int Property myStage Auto
- int distanceCheck = 2500
- bool breakLoop
- EVENT onLoad()
- UpdateLoop() ; This script will update every (2) seconds
- endEVENT
- EVENT onUnload()
- breakLoop = True
- endEVENT
- Function UpdateLoop()
- While (myQuest.GetStage() < myStage && !breakLoop)
- if (getDistance(game.getplayer()) <= distanceCheck)
- myQuest.setStage(myStage)
- EndIf
- Utility.Wait(2)
- EndWhile
- breakLoop = False
- EndFunction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement