123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399 |
- --[[
- Script Name : SpawnScripts/TempleSt/arat.lua
- Script Author : Dorbin
- Script Date : 2023.10.23 11:10:34
- Script Purpose :
- :
- --]]
- function spawn(NPC)
- waypoints1(NPC)
- DespawnCheck(NPC)
- if GetSpawnLocationID(NPC) ==420362 or
- GetSpawnLocationID(NPC) ==420349 or
- GetSpawnLocationID(NPC) ==420316 then
- else
- AddTimer(NPC,MakeRandomInt(3000,6000),"ChefCheck")
- end
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function DespawnCheck(NPC)
- if GetSpawnLocationID(NPC) ==420362 then
- AddTimer(NPC,184000,"Despawning")
- elseif GetSpawnLocationID(NPC) ==420349 then
- AddTimer(NPC,123000,"Despawning")
- elseif GetSpawnLocationID(NPC) ==420316 then
- AddTimer(NPC,123000,"Despawning")
- end
- end
- function ChefCheck(NPC,Spawn)
- if IsAlive(NPC) then
- AddTimer(NPC,MakeRandomInt(4000,7000),"ChefCheck")
- local zone = GetZone(NPC)
- local Chef = GetSpawnByLocationID(zone,420550)
- if not IsInCombat(NPC) and Chef~= nil and not IsInCombat(Chef)then
- local Distance = GetDistance(NPC,Chef,1)
- if Distance <=4 then
- Attack(Chef,NPC)
- Attack(NPC,Chef)
- local x = GetX(Chef)
- local y = GetY(Chef)
- local z = GetZ(Chef)
- SetFollowTarget(Chef,NPC)
- SetFollowTarget(NPC,Chef)
- ToggleFollow(Chef)
- ToggleFollow(NPC)
- SetTarget(Chef,NPC)
- FaceTarget(Chef,NPC)
- FaceTarget(NPC,Chef)
- PlayFlavor(NPC,"","","attack",0,0)
- AddTimer(NPC,MakeRandomInt(2500,4500),"kill",1,Spawn)
- end
- end
- end
- end
- function kill (NPC,Spawn)
- ApplySpellVisual(NPC,51)
- local zone = GetZone(NPC)
- local Chef = GetSpawnByLocationID(zone,420550)
- PlayFlavor(Chef,"","","1h_sword_attack",0,0)
- KillSpawn(NPC)
- AddTimer(Chef,2500,"scoop")
- AddTimer(NPC,3000,"Despawning")
- end
- function Despawning(NPC,Spawn)
- Despawn(NPC)
- end
- function scoop(NPC,Spawn)
- local zone = GetZone(NPC)
- local Chef = GetSpawnByLocationID(zone,420550)
- PlayFlavor(Chef,"","","gathering_success",0,0)
- Despawn(NPC)
- end
- function waypoints1(NPC)
- if GetSpawnLocationID(NPC) ==420362 then--Methos1
- MoveToLocation(NPC,28.6, 3, 61.12, 1)
- elseif GetSpawnLocationID(NPC) ==420349 then--Methos2
- MoveToLocation(NPC,33.31, 3.00, 71.43, 4)
- elseif GetSpawnLocationID(NPC) ==420316 then--Skitter
- MoveToLocation(NPC,-22.84, 3.00, 84.05, 4)
- elseif GetSpawnLocationID(NPC) ==420418 then --roamer1
- MovementLoopAddLocation(NPC, 50.22, 3, 60.54, 2, 0)
- MovementLoopAddLocation(NPC, 46.6, 3, 54.03, 2, 0)
- MovementLoopAddLocation(NPC, 50.28, 3, 42.38, 2, 18)
- MovementLoopAddLocation(NPC, 48.27, 3, 48.06, 4, 0)
- MovementLoopAddLocation(NPC, 47.57, 3, 51.15, 4, 0)
- MovementLoopAddLocation(NPC, 50.07, 3, 59.61, 4, 0)
- MovementLoopAddLocation(NPC, 53.1, 3, 63.73, 4, 0)
- MovementLoopAddLocation(NPC, 53.17, 3, 68.48, 4, 0)
- MovementLoopAddLocation(NPC, 47.78, 3, 72.85, 4, 6)
- MovementLoopAddLocation(NPC, 42.18, 3.00, 75.57, 2, 0)
- MovementLoopAddLocation(NPC, 46.98, 3.00, 80.83, 2, 18)
- MovementLoopAddLocation(NPC, 43.67, 3, 80.19, 2, 0)
- MovementLoopAddLocation(NPC, 45.03, 3, 71.96, 4, 0)
- MovementLoopAddLocation(NPC, 53.2, 3, 66.09, 4, 0)
- MovementLoopAddLocation(NPC, 58.40, 3.00, 61.48, 4, 0)
- MovementLoopAddLocation(NPC, 65.21, 3, 60, 2, 0)
- MovementLoopAddLocation(NPC, 65.21, 3, 60, 2, 18)
- MovementLoopAddLocation(NPC, 59.17, 3, 60.8, 2, 0)
- MovementLoopAddLocation(NPC, 54.7, 3, 63.07, 2, 0)
- MovementLoopAddLocation(NPC, 51.18, 3, 62.03, 4, 0)
- MovementLoopAddLocation(NPC, 48.25, 3, 55.38, 4, 0)
- MovementLoopAddLocation(NPC, 42.85, 3, 49.97, 4, 0)
- MovementLoopAddLocation(NPC, 37.28, 3, 50.96, 4, 0)
- MovementLoopAddLocation(NPC, 29.87, 2.99, 48.11, 2, 0)
- MovementLoopAddLocation(NPC, 23.79, 2.92, 39.37, 2, 0)
- MovementLoopAddLocation(NPC, 20.73, 2.92, 39.49, 2, 18)
- MovementLoopAddLocation(NPC, 18.33, 2.92, 36.27, 4, 0)
- MovementLoopAddLocation(NPC, 4.64, 2.92, 28.45, 4, 0)
- MovementLoopAddLocation(NPC, 4.79, 2.92, 27.57, 2, 18)
- MovementLoopAddLocation(NPC, 7.39, 2.92, 30.12, 2, 0)
- MovementLoopAddLocation(NPC, 19.62, 2.92, 34.94, 2, 0)
- MovementLoopAddLocation(NPC, 34.67, 2.92, 28.9, 2, 18)
- MovementLoopAddLocation(NPC, 30.63, 2.92, 31.15, 4, 0)
- MovementLoopAddLocation(NPC, 29.61, 2.92, 35.36, 4, 0)
- MovementLoopAddLocation(NPC, 33.03, 2.95, 45.05, 4, 0)
- MovementLoopAddLocation(NPC, 38.31, 3, 49.99, 4, 0)
- MovementLoopAddLocation(NPC, 42.27, 3.00, 49.37, 4, 0)
- MovementLoopAddLocation(NPC, 50.8, 3, 58.39, 2, 18)
- elseif GetSpawnLocationID(NPC) ==420319 then --roamer2
- MovementLoopAddLocation(NPC, 3.31, 3, 52.7, 4, MakeRandomInt(10,20))
- MovementLoopAddLocation(NPC, 1.61, 3, 56.29, 4, 0)
- MovementLoopAddLocation(NPC, -0.33, 3, 63.8, 4, 0)
- MovementLoopAddLocation(NPC, 1.79, 3, 70.83, 4, 0)
- MovementLoopAddLocation(NPC, -3.19, 3, 75.71, 4, 0)
- MovementLoopAddLocation(NPC, -8.54, 3, 79.15, 4, 0)
- MovementLoopAddLocation(NPC, -13.67, 3, 79.65, 4, 0)
- MovementLoopAddLocation(NPC, -23.53, 3, 83.75, 4, 0)
- MovementLoopAddLocation(NPC, -30.23, 3, 79.81, 4, 0)
- MovementLoopAddLocation(NPC, -31.27, 3, 77.92, 4, 0)
- MovementLoopAddLocation(NPC, -27.5, 3, 71.29, 4, 0)
- MovementLoopAddLocation(NPC, -24.61, 3, 67.05, 4, MakeRandomInt(10,20))
- MovementLoopAddLocation(NPC, -27.47, 3, 74.66, 4, 0)
- MovementLoopAddLocation(NPC, -28.88, 3, 76.96, 4, 0)
- MovementLoopAddLocation(NPC, -26.4, 3, 82.04, 4, 0)
- MovementLoopAddLocation(NPC, -21.04, 3, 84.58, 4, 0)
- MovementLoopAddLocation(NPC, -13.17, 3, 79.84, 4, 0)
- MovementLoopAddLocation(NPC, -9.42, 3, 77.55, 4, 0)
- MovementLoopAddLocation(NPC, -6.94, 3, 88.58, 4, 0)
- MovementLoopAddLocation(NPC, 4.62, 3, 86.19, 4, 0)
- MovementLoopAddLocation(NPC, 15.72, 3, 83.36, 4, 0)
- MovementLoopAddLocation(NPC, 20.94, 3.01, 86.49, 4, 0)
- MovementLoopAddLocation(NPC, 29.33, 3, 85.66, 4, 0)
- MovementLoopAddLocation(NPC, 32.1, 3, 84.54, 4, 0)
- MovementLoopAddLocation(NPC, 32.27, 3, 79.66, 4, 0)
- MovementLoopAddLocation(NPC, 36.16, 3, 64.43, 4, MakeRandomInt(10,20))
- MovementLoopAddLocation(NPC, 32.66, 3, 59.03, 4, 0)
- MovementLoopAddLocation(NPC, 31.89, 3, 55.81, 4, 0)
- MovementLoopAddLocation(NPC, 35.17, 3, 46.31, 4, MakeRandomInt(10,20))
- MovementLoopAddLocation(NPC, 29.3, 3, 57.84, 4, 0)
- MovementLoopAddLocation(NPC, 20.79, 2.95, 70.82, 4, 0)
- MovementLoopAddLocation(NPC, 14.68, 3, 73.55, 4, 0)
- MovementLoopAddLocation(NPC, 0.87, 3, 66.21, 4, 0)
- MovementLoopAddLocation(NPC, -1.66, 3, 59.99, 4, 0)
- elseif GetSpawnLocationID(NPC) ==420307 then --roamer3
- MovementLoopAddLocation(NPC, -34.04, 2.86, 122.62, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, -38.34, 2.85, 118.87, 4, 0)
- MovementLoopAddLocation(NPC, -33.16, 3.03, 112.12, 4, 0)
- MovementLoopAddLocation(NPC, -26.17, 2.75, 107.21, 4, 0)
- MovementLoopAddLocation(NPC, -18.56, 3, 102.99, 4, 0)
- MovementLoopAddLocation(NPC, -19.36, 3, 97.14, 4, 10)
- MovementLoopAddLocation(NPC, -19.36, 3, 97.14, 4, 0)
- MovementLoopAddLocation(NPC, -13.79, 3, 104.47, 4, 0)
- MovementLoopAddLocation(NPC, -6.69, 3, 101.42, 4, 0)
- MovementLoopAddLocation(NPC, -1.94, 3, 102.93, 4, 0)
- MovementLoopAddLocation(NPC, 0.35, 3, 110.97, 4, 0)
- MovementLoopAddLocation(NPC, -2.57, 3, 113.71, 4, 0)
- MovementLoopAddLocation(NPC, -9.48, 3, 116.75, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, -0.24, 3, 112.11, 4, 0)
- MovementLoopAddLocation(NPC, 0.37, 3, 109.8, 4, 0)
- MovementLoopAddLocation(NPC, -4.65, 3, 98.85, 4, 0)
- MovementLoopAddLocation(NPC, -6.95, 3, 92.88, 4, 0)
- MovementLoopAddLocation(NPC, -4.88, 3, 90.4, 4, 0)
- MovementLoopAddLocation(NPC, 2.35, 3, 86.32, 4, 0)
- MovementLoopAddLocation(NPC, 11.51, 3, 83.06, 4, 0)
- MovementLoopAddLocation(NPC, 12.79, 3, 81.17, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, 18.86, 3, 84.01, 4, 0)
- MovementLoopAddLocation(NPC, 29.86, 3, 102.37, 4, 0)
- MovementLoopAddLocation(NPC, 34.26, 3, 108.75, 4, 0)
- MovementLoopAddLocation(NPC, 44.05, 3.1, 103.55, 4, 0)
- MovementLoopAddLocation(NPC, 51.2, 3, 99.48, 4, 0)
- MovementLoopAddLocation(NPC, 46.04, 3, 89.15, 4, 0)
- MovementLoopAddLocation(NPC, 45.64, 3, 83.43, 4, 0)
- MovementLoopAddLocation(NPC, 42.66, 3, 79.1, 4, 0)
- MovementLoopAddLocation(NPC, 34.79, 3, 75.25, 4, 0)
- MovementLoopAddLocation(NPC, 31.02, 3, 67.66, 4, 0)
- MovementLoopAddLocation(NPC, 29.34, 3, 60.05, 4, 0)
- MovementLoopAddLocation(NPC, 35.42, 3, 46.23, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, 34.57, 3, 51.93, 4, 0)
- MovementLoopAddLocation(NPC, 31.61, 3, 57.1, 4, 0)
- MovementLoopAddLocation(NPC, 36.27, 3, 64.26, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, 34.19, 3, 71.14, 4, 0)
- MovementLoopAddLocation(NPC, 33.26, 3, 74.34, 4, 0)
- MovementLoopAddLocation(NPC, 27.07, 3, 76.92, 4, 0)
- MovementLoopAddLocation(NPC, 11.65, 3, 70.79, 4, 0)
- MovementLoopAddLocation(NPC, 7.1, 3, 68.84, 4, 0)
- MovementLoopAddLocation(NPC, -1.14, 3, 70.64, 4, 0)
- MovementLoopAddLocation(NPC, -4.93, 3, 75.08, 4, 0)
- MovementLoopAddLocation(NPC, -25.79, 3, 84.46, 4, 0)
- MovementLoopAddLocation(NPC, -28.99, 3, 81.59, 4, 0)
- MovementLoopAddLocation(NPC, -28.53, 3, 76.05, 4, 0)
- MovementLoopAddLocation(NPC, -25.03, 3, 71.16, 4, 0)
- MovementLoopAddLocation(NPC, -20.24, 3, 69.95, 4, 0)
- MovementLoopAddLocation(NPC, -19.01, 3, 70.96, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, -22.9, 3, 69.39, 4, 0)
- MovementLoopAddLocation(NPC, -27.43, 3, 73.35, 4, 0)
- MovementLoopAddLocation(NPC, -29.36, 3, 76.45, 4, 0)
- MovementLoopAddLocation(NPC, -27.29, 3, 83.2, 4, 0)
- MovementLoopAddLocation(NPC, -24.71, 3, 84, 4, 0)
- MovementLoopAddLocation(NPC, -12.64, 3, 78.39, 4, 0)
- MovementLoopAddLocation(NPC, -5.14, 3, 88.64, 4, 0)
- MovementLoopAddLocation(NPC, -6.25, 3, 92.46, 4, 0)
- MovementLoopAddLocation(NPC, -4.26, 3.27, 99.63, 4, 0)
- MovementLoopAddLocation(NPC, -3.23, 3, 104.85, 4, 0)
- MovementLoopAddLocation(NPC, -3.23, 3, 104.85, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, -4.53, 3, 101.11, 4, 0)
- MovementLoopAddLocation(NPC, -14.43, 3, 104.5, 4, 0)
- MovementLoopAddLocation(NPC, -32.17, 3.18, 108, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, -31.54, 2.84, 109.77, 4, 0)
- MovementLoopAddLocation(NPC, -33.48, 2.87, 113.22, 4, 0)
- MovementLoopAddLocation(NPC, -47.3, 2.84, 122.62, 4, 0)
- MovementLoopAddLocation(NPC, -63.57, 2.84, 126.96, 4, 0)
- MovementLoopAddLocation(NPC, -49.6, 2.83, 120.21, 4, 0)
- MovementLoopAddLocation(NPC, -19.08, 2.65, 105.32, 4, 0)
- MovementLoopAddLocation(NPC, -9.01, 3, 102.93, 4, 0)
- MovementLoopAddLocation(NPC, -5.34, 3, 98.16, 4, 0)
- MovementLoopAddLocation(NPC, -7.39, 3, 89.53, 4, 0)
- MovementLoopAddLocation(NPC, -10.11, 3, 78.03, 4, 0)
- MovementLoopAddLocation(NPC, 4.34, 3, 71.36, 4, 0)
- MovementLoopAddLocation(NPC, 1.48, 3, 65.69, 4, 0)
- MovementLoopAddLocation(NPC, -4.74, 3, 58.51, 4, 0)
- MovementLoopAddLocation(NPC, -11.18, 3, 62.23, 4, 0)
- MovementLoopAddLocation(NPC, -11.14, 3, 63.36, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, -11.18, 3, 62.23, 4, 0)
- MovementLoopAddLocation(NPC, -4.74, 3, 58.51, 4, 0)
- MovementLoopAddLocation(NPC, 1.48, 3, 65.69, 4, 0)
- MovementLoopAddLocation(NPC, 4.34, 3, 71.36, 4, 0)
- MovementLoopAddLocation(NPC, -10.11, 3, 78.03, 4, 0)
- MovementLoopAddLocation(NPC, -7.39, 3, 89.53, 4, 0)
- MovementLoopAddLocation(NPC, -5.34, 3, 98.16, 4, 0)
- MovementLoopAddLocation(NPC, -9.01, 3, 102.93, 4, 0)
- MovementLoopAddLocation(NPC, -19.08, 2.65, 105.32, 4, 0)
- MovementLoopAddLocation(NPC, -49.6, 2.83, 120.21, 4, 0)
- MovementLoopAddLocation(NPC, -63.57, 2.84, 126.96, 4, 0)
- MovementLoopAddLocation(NPC, -47.3, 2.84, 122.62, 4, 0)
- MovementLoopAddLocation(NPC, -33.48, 2.87, 113.22, 4, 0)
- MovementLoopAddLocation(NPC, -31.54, 2.84, 109.77, 4, 0)
- MovementLoopAddLocation(NPC, -32.17, 3.18, 108, 4, 10)
- MovementLoopAddLocation(NPC, -14.43, 3, 104.5, 4, 0)
- MovementLoopAddLocation(NPC, -4.53, 3, 101.11, 4, 0)
- MovementLoopAddLocation(NPC, -3.23, 3, 104.85, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, -3.23, 3, 104.85, 4, 0)
- MovementLoopAddLocation(NPC, -4.26, 3.27, 99.63, 4, 0)
- MovementLoopAddLocation(NPC, -6.25, 3, 92.46, 4, 0)
- MovementLoopAddLocation(NPC, -5.14, 3, 88.64, 4, 0)
- MovementLoopAddLocation(NPC, -12.64, 3, 78.39, 4, 0)
- MovementLoopAddLocation(NPC, -24.71, 3, 84, 4, 0)
- MovementLoopAddLocation(NPC, -27.29, 3, 83.2, 4, 0)
- MovementLoopAddLocation(NPC, -29.36, 3, 76.45, 4, 0)
- MovementLoopAddLocation(NPC, -27.43, 3, 73.35, 4, 0)
- MovementLoopAddLocation(NPC, -22.9, 3, 69.39, 4, 0)
- MovementLoopAddLocation(NPC, -19.01, 3, 70.96, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, -20.24, 3, 69.95, 4, 0)
- MovementLoopAddLocation(NPC, -25.03, 3, 71.16, 4, 0)
- MovementLoopAddLocation(NPC, -28.53, 3, 76.05, 4, 0)
- MovementLoopAddLocation(NPC, -28.99, 3, 81.59, 4, 0)
- MovementLoopAddLocation(NPC, -25.79, 3, 84.46, 4, 0)
- MovementLoopAddLocation(NPC, -4.93, 3, 75.08, 4, 0)
- MovementLoopAddLocation(NPC, -1.14, 3, 70.64, 4, 0)
- MovementLoopAddLocation(NPC, 7.1, 3, 68.84, 4, 0)
- MovementLoopAddLocation(NPC, 11.65, 3, 70.79, 4, 0)
- MovementLoopAddLocation(NPC, 27.07, 3, 76.92, 4, 0)
- MovementLoopAddLocation(NPC, 33.26, 3, 74.34, 4, 0)
- MovementLoopAddLocation(NPC, 34.19, 3, 71.14, 4, 0)
- MovementLoopAddLocation(NPC, 36.27, 3, 64.26, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, 31.61, 3, 57.1, 4, 0)
- MovementLoopAddLocation(NPC, 34.57, 3, 51.93, 4, 0)
- MovementLoopAddLocation(NPC, 35.42, 3, 46.23, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, 29.34, 3, 60.05, 4, 0)
- MovementLoopAddLocation(NPC, 31.02, 3, 67.66, 4, 0)
- MovementLoopAddLocation(NPC, 34.79, 3, 75.25, 4, 0)
- MovementLoopAddLocation(NPC, 42.66, 3, 79.1, 4, 0)
- MovementLoopAddLocation(NPC, 45.64, 3, 83.43, 4, 0)
- MovementLoopAddLocation(NPC, 46.04, 3, 89.15, 4, 0)
- MovementLoopAddLocation(NPC, 51.2, 3, 99.48, 4, 0)
- MovementLoopAddLocation(NPC, 44.05, 3.1, 103.55, 4, 0)
- MovementLoopAddLocation(NPC, 34.26, 3, 108.75, 4, 0)
- MovementLoopAddLocation(NPC, 29.86, 3, 102.37, 4, 0)
- MovementLoopAddLocation(NPC, 18.86, 3, 84.01, 4, 0)
- MovementLoopAddLocation(NPC, 12.79, 3, 81.17, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, 11.51, 3, 83.06, 4, 0)
- MovementLoopAddLocation(NPC, 2.35, 3, 86.32, 4, 0)
- MovementLoopAddLocation(NPC, -4.88, 3, 90.4, 4, 0)
- MovementLoopAddLocation(NPC, -6.95, 3, 92.88, 4, 0)
- MovementLoopAddLocation(NPC, -4.65, 3, 98.85, 4, 0)
- MovementLoopAddLocation(NPC, 0.37, 3, 109.8, 4, 0)
- MovementLoopAddLocation(NPC, -0.24, 3, 112.11, 4, 0)
- MovementLoopAddLocation(NPC, -9.48, 3, 116.75, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, -2.57, 3, 113.71, 4, 0)
- MovementLoopAddLocation(NPC, 0.35, 3, 110.97, 4, 0)
- MovementLoopAddLocation(NPC, -1.94, 3, 102.93, 4, 0)
- MovementLoopAddLocation(NPC, -6.69, 3, 101.42, 4, 0)
- MovementLoopAddLocation(NPC, -13.79, 3, 104.47, 4, 0)
- MovementLoopAddLocation(NPC, -19.36, 3, 97.14, 4, 0)
- MovementLoopAddLocation(NPC, -19.36, 3, 97.14, 4, MakeRandomInt(8,14))
- MovementLoopAddLocation(NPC, -18.56, 3, 102.99, 4, 0)
- MovementLoopAddLocation(NPC, -26.17, 2.75, 107.21, 4, 0)
- MovementLoopAddLocation(NPC, -33.16, 3.03, 112.12, 4, 0)
- MovementLoopAddLocation(NPC, -38.34, 2.85, 118.87, 4, 0)
- end
- end
- function waypoints2(NPC)
- if GetSpawnLocationID(NPC) ==420362 then
- MovementLoopAddLocation(NPC, 31.95, 3, 55.2, 6, 2)
- MovementLoopAddLocation(NPC, 39.86, 3, 50.85, 6, 0)
- MovementLoopAddLocation(NPC, 44.76, 3, 52.29, 6, 0)
- MovementLoopAddLocation(NPC, 50.85, 3, 60.83, 6, 0)
- MovementLoopAddLocation(NPC, 54.89, 3, 64.29, 6, 0)
- MovementLoopAddLocation(NPC, 63.8, 2.77, 67.88, 6, 0)
- MovementLoopAddLocation(NPC, 70.13, 1.63, 70.44, 6, 0)
- MovementLoopAddLocation(NPC, 72.76, 0.37, 74.76, 4, 0)
- MovementLoopAddLocation(NPC, 75.94, -2.87, 84.52, 4, 0)
- MovementLoopAddLocation(NPC, 81.62, -4.57, 92.12, 4, 0)
- MovementLoopAddLocation(NPC, 81.83, -4.57, 101.89, 4, 0)
- MovementLoopAddLocation(NPC, 76.4, -4.57, 109.38, 4, 0)
- MovementLoopAddLocation(NPC, 74.74, -4.57, 119.51, 4, 0)
- MovementLoopAddLocation(NPC, 79.26, -4.57, 129.48, 4, 0)
- MovementLoopAddLocation(NPC, 81.52, -4.57, 129.65, 4, 0)
- MovementLoopAddLocation(NPC, 80.34, -4.57, 127.54, 4, 30)
- MovementLoopAddLocation(NPC, 76.3, -4.57, 119.97, 1, 0)
- MovementLoopAddLocation(NPC, 75.12, -4.57, 112.32, 1, 0)
- MovementLoopAddLocation(NPC, 75.38, -4.57, 108.35, 1, 10)
- MovementLoopAddLocation(NPC, 79.18, -4.57, 103.91, 1, 0)
- MovementLoopAddLocation(NPC, 80.15, -4.57, 100.38, 1, 0)
- MovementLoopAddLocation(NPC, 77.45, -4.56, 94.18, 1, 0)
- MovementLoopAddLocation(NPC, 73.76, -3.52, 87.56, 1, 0)
- MovementLoopAddLocation(NPC, 73.33, -3.11, 86.74, 1, 5)
- MovementLoopAddLocation(NPC, 71.66, -0.27, 77.96, 1, 0)
- MovementLoopAddLocation(NPC, 71.52, 0.81, 73.98, 1, 0)
- MovementLoopAddLocation(NPC, 70.47, 1.33, 72.3, 1, 0)
- MovementLoopAddLocation(NPC, 64.81, 2.71, 69.86, 1, 0)
- MovementLoopAddLocation(NPC, 63.46, 3, 61.49, 1, 10)
- MovementLoopAddLocation(NPC, 59.5, 3, 60.81, 1, 0)
- MovementLoopAddLocation(NPC, 53, 3, 66.82, 1, 0)
- MovementLoopAddLocation(NPC, 47.39, 3, 72.82, 1, 0)
- MovementLoopAddLocation(NPC, 38.52, 3, 76.35, 1, 0)
- MovementLoopAddLocation(NPC, 34.5, 3, 68.86, 1, 0)
- MovementLoopAddLocation(NPC, 36.18, 3, 64.02, 1, 0)
- MovementLoopAddLocation(NPC, 36.18, 3, 64.02, 1, 4)
- elseif GetSpawnLocationID(NPC) ==420349 then
- MovementLoopAddLocation(NPC, 30.93, 3, 69.23, 6, 0)
- MovementLoopAddLocation(NPC, 28.76, 3, 61.79, 6, 0)
- MovementLoopAddLocation(NPC, 24.7, 3, 61.78, 6, 0)
- MovementLoopAddLocation(NPC, 21.63, 2.93, 66.95, 6, 0)
- MovementLoopAddLocation(NPC, 17.96, 3.01, 72.13, 6, 0)
- MovementLoopAddLocation(NPC, 5.76, 3, 67.83, 6, 0)
- MovementLoopAddLocation(NPC, -2.09, 3, 61.88, 6, 0)
- MovementLoopAddLocation(NPC, -1.3, 3, 57.67, 6, 0)
- MovementLoopAddLocation(NPC, -5.37, 3, 56.58, 6, 0)
- MovementLoopAddLocation(NPC, -6.35, 3, 58.17, 6, 0)
- MovementLoopAddLocation(NPC, -6.35, 3, 58.17, 6, 10)
- MovementLoopAddLocation(NPC, -0.77, 3.00, 57.48, 1, 0)
- MovementLoopAddLocation(NPC, 4.15, 3.00, 52.91, 6, 999)
- elseif GetSpawnLocationID(NPC) ==420349 then
- MovementLoopAddLocation(NPC, -22.81, 3, 83.91, 6, 0)
- MovementLoopAddLocation(NPC, -12.18, 3, 79.22, 6, 0)
- MovementLoopAddLocation(NPC, -6.65, 3, 89.24, 6, 0)
- MovementLoopAddLocation(NPC, -4.77, 3, 99.87, 6, 0)
- MovementLoopAddLocation(NPC, -12.57, 3, 104.86, 6, 0)
- MovementLoopAddLocation(NPC, -17.18, 2.97, 105.37, 6, 0)
- MovementLoopAddLocation(NPC, -32.7, 3, 112.34, 6, 0)
- MovementLoopAddLocation(NPC, -35.23, 2.84, 114.18, 6, 0)
- MovementLoopAddLocation(NPC, -60.02, 2.84, 128.2, 6, 0)
- MovementLoopAddLocation(NPC, -47.68, 2.84, 120.5, 6, 0)
- MovementLoopAddLocation(NPC, -39.01, 2.83, 116.71, 6, 0)
- MovementLoopAddLocation(NPC, -34.13, 2.84, 121.18, 6, 0)
- MovementLoopAddLocation(NPC, -36.74, 2.83, 119.12, 6, 0)
- MovementLoopAddLocation(NPC, -44.02, 2.83, 105.2, 6, 0)
- MovementLoopAddLocation(NPC, -44.02, 2.83, 105.2, 6, 1)
- MovementLoopAddLocation(NPC, -44.02, 2.83, 105.2, 6, 1)
- MovementLoopAddLocation(NPC, -44.02, 2.83, 105.2, 6, 12)
- MovementLoopAddLocation(NPC, -39.18, 2.81, 112.46, 4, 0)
- MovementLoopAddLocation(NPC, -39.18, 2.81, 112.46, 4, 0)
- MovementLoopAddLocation(NPC, -33.88, 2.93, 112.57, 4, 0)
- MovementLoopAddLocation(NPC, -23.41, 2.81, 103.94, 4, 0)
- MovementLoopAddLocation(NPC, -18.63, 3, 101.25, 4, 0)
- MovementLoopAddLocation(NPC, -17.31, 3, 99.16, 4, 900)
- end
- end
|