123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- --[[
- Script Name : SpawnScripts/Classic_forest/abonecutterfishRoam6.lua
- Script Author : LordPazuzu
- Script Date : 2022.10.13 03:10:11
- 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, 1035.38, -24.37, -724.27, 1, 0)
- MovementLoopAddLocation(NPC, 1035.49, -24.34, -720.21, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 1035.49, -24.37, -720.21, 1, 0)
- MovementLoopAddLocation(NPC, 1034.8, -24.36, -728.7, 1, 0)
- MovementLoopAddLocation(NPC, 1027.69, -24.37, -736.42, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 1027.69, -24.37, -736.42, 1, 0)
- MovementLoopAddLocation(NPC, 1034.45, -24.34, -737.01, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 1034.45, -24.37, -737.01, 1, 0)
- MovementLoopAddLocation(NPC, 1034.15, -24.33, -728.77, 1, 0)
- MovementLoopAddLocation(NPC, 1037.82, -24.32, -722.17, 1, 0)
- MovementLoopAddLocation(NPC, 1047.06, -24.34, -721.89, 1, 0)
- MovementLoopAddLocation(NPC, 1055.91, -24.32, -720.29, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 1055.91, -24.37, -720.29, 1, 0)
- MovementLoopAddLocation(NPC, 1046.3, -24.37, -722.91, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 1046.3, -24.37, -722.91, 1, 0)
- MovementLoopAddLocation(NPC, 1037.02, -24.33, -719.2, 1, 0)
- MovementLoopAddLocation(NPC, 1027.35, -24.33, -722.21, 1, math.random(5,10))
- MovementLoopAddLocation(NPC, 1027.35, -24.37, -722.21, 1, 0)
- MovementLoopAddLocation(NPC, 1031.93, -24.33, -721.33, 1, 0)
- MovementLoopAddLocation(NPC, 1035.38, -24.37, -724.27, 1, math.random(5,10))
- end
|