123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- --[[
- Script Name : SpawnScripts/Classic_forest/astoneshellsnapper3.lua
- Script Author : LordPazuzu
- Script Date : 2022.10.12 03:10:07
- Script Purpose :
- :
- --]]
- require "SpawnScripts/Generic/NPCModule"
- function spawn(NPC, Spawn)
- NPCModule(NPC, Spawn)
- AddTimer(NPC, 6000, "waypoints")
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function waypoints(NPC)
- MovementLoopAddLocation(NPC, 976.17, -23.45, -580.24, 1, 0)
- MovementLoopAddLocation(NPC, 979.7, -23.71, -583.1, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 979.7, -23.71, -583.1, 1, 0)
- MovementLoopAddLocation(NPC, 981.75, -26.42, -590.58, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 981.75, -26.42, -590.58, 1, 0)
- MovementLoopAddLocation(NPC, 977.68, -27.56, -589.67, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 977.68, -27.56, -589.67, 1, 0)
- MovementLoopAddLocation(NPC, 974.24, -25.72, -584.54, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 974.24, -25.72, -584.54, 1, 0)
- MovementLoopAddLocation(NPC, 969.13, -25.5, -582.86, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 969.13, -25.5, -582.86, 1, 0)
- MovementLoopAddLocation(NPC, 978.36, -24.98, -585.25, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 978.36, -24.98, -585.25, 1, 0)
- MovementLoopAddLocation(NPC, 982.95, -24.95, -589.41, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 982.95, -24.95, -589.41, 1, 0)
- MovementLoopAddLocation(NPC, 984.07, -26.2, -594.11, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 984.07, -26.2, -594.11, 1, 0)
- MovementLoopAddLocation(NPC, 986.65, -24.05, -593.13, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 986.65, -24.05, -593.13, 1, 0)
- MovementLoopAddLocation(NPC, 982.84, -23.85, -586.01, 1, 0)
- MovementLoopAddLocation(NPC, 970.29, -23.43, -578.79, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 970.29, -23.43, -578.79, 1, 0)
- MovementLoopAddLocation(NPC, 976.18, -23.44, -580.2, 1, math.random(5,10))
- end
|