123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- --[[
- Script Name : SpawnScripts/QeynosHarbor/Anayloo.lua
- Script Author : Dorbin
- Script Date : 2022.06.12 03:06:41
- Script Purpose :
- :
- --]]
- dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
- function spawn(NPC)
- SetPlayerProximityFunction(NPC, 6, "InRange", "LeaveRange")
- waypoints(NPC)
- end
- function hailed(NPC, Spawn)
- GenericRaceCheckHail(NPC, Spawn, faction)
- end
- function InRange(NPC,Spawn)
- GenericRaceCheckCallout(NPC, Spawn, faction)
- end
- function Door(NPC,Spawn)
- local door = GetSpawn(NPC, 2210356)
- UseWidget(door)
- end
- function waypoints(NPC)
- MovementLoopAddLocation(NPC, 852.77, -23.99, 74.38, 2, 20)
- MovementLoopAddLocation(NPC, 848.71, -25.37, 71.82, 2, 0)
- MovementLoopAddLocation(NPC, 856.05, -25.37, 57.36, 2, 0)
- MovementLoopAddLocation(NPC, 865.16, -25.46, 45.37, 2, 0)
- MovementLoopAddLocation(NPC, 884.13, -25.37, 46.63, 2, 0)
- MovementLoopAddLocation(NPC, 892.46, -25.37, 39.64, 2, 0)
- MovementLoopAddLocation(NPC, 903.84, -25.37, -1.96, 2, 0)
- MovementLoopAddLocation(NPC, 896.71, -23.9, -31, 2, 0)
- MovementLoopAddLocation(NPC, 884.5, -25.4, -54.97, 2, 0)
- MovementLoopAddLocation(NPC, 854.92, -25.42, -59.72, 2, 0)
- MovementLoopAddLocation(NPC, 821.1, -22.52, -59.48, 2, 0)
- MovementLoopAddLocation(NPC, 801.26, -20.72, -58.68, 2, 0)
- MovementLoopAddLocation(NPC, 705.38, -20.7, -64.28, 2, 0)
- MovementLoopAddLocation(NPC, 705.41, -20.7, -64.2, 2, 60)
- MovementLoopAddLocation(NPC, 684.01, -21.44, -104.97, 2, 0)
- MovementLoopAddLocation(NPC, 678.45, -21.15, -106.46, 2, 0)
- MovementLoopAddLocation(NPC, 677.95, -21.05, -104.68, 2, 60)
- MovementLoopAddLocation(NPC, 681.86, -21.38, -105.35, 2, 0)
- MovementLoopAddLocation(NPC, 710.47, -20.98, -74.27, 2, 0)
- MovementLoopAddLocation(NPC, 748.66, -21.28, -62.63, 2, 0)
- MovementLoopAddLocation(NPC, 757.97, -20.8, -31.69, 2, 0)
- MovementLoopAddLocation(NPC, 747.91, -20.71, 7.93, 2, 0)
- MovementLoopAddLocation(NPC, 748.73, -20.64, 9.16, 2, 60)
- MovementLoopAddLocation(NPC, 749.16, -20.67, 8.58, 2, 0)
- MovementLoopAddLocation(NPC, 764.65, -21.49, -45.82, 2, 0)
- MovementLoopAddLocation(NPC, 801.67, -20.69, -62.41, 2, 0)
- MovementLoopAddLocation(NPC, 832.47, -24.93, -64.19, 2, 0)
- MovementLoopAddLocation(NPC, 879.45, -25.36, -64.27, 2, 0)
- MovementLoopAddLocation(NPC, 901.62, -23.43, -38.53, 2, 0)
- MovementLoopAddLocation(NPC, 907.79, -25.37, -1.33, 2, 0)
- MovementLoopAddLocation(NPC, 905.68, -25.41, 15.67, 2, 0)
- MovementLoopAddLocation(NPC, 896.9, -25.37, 38.39, 2, 0)
- MovementLoopAddLocation(NPC, 887.14, -25.37, 46.11, 2, 0)
- MovementLoopAddLocation(NPC, 866, -25.45, 51.09, 2, 0)
- MovementLoopAddLocation(NPC, 858.21, -25.37, 54.68, 2, 0)
- MovementLoopAddLocation(NPC, 848.18, -25.47, 67.87, 2, 0)
- MovementLoopAddLocation(NPC, 853.3, -23.99, 74.58, 2, 0)
- MovementLoopAddLocation(NPC, 856.89, -23.99, 68.21, 2, 0)
- MovementLoopAddLocation(NPC, 851.66, -25.37, 65.41, 2, 0)
- MovementLoopAddLocation(NPC, 857.36, -25.48, 53.07, 2, 0)
- MovementLoopAddLocation(NPC, 860.55, -25.44, 44.42, 2, 0)
- MovementLoopAddLocation(NPC, 858.14, -25.39, 43.22, 2, 0)
- MovementLoopAddLocation(NPC, 854.87, -24.49, 42.55, 2, 0)
- MovementLoopAddLocation(NPC, 837.73, -23.29, 45.13, 2, 0)
- MovementLoopAddLocation(NPC, 835.69, -23.31, 45.47, 2, 0)
- MovementLoopAddLocation(NPC, 832.35, -23.31, 52.39, 2, 0)
- MovementLoopAddLocation(NPC, 825.28, -23.31, 67.62, 2, 0)
- MovementLoopAddLocation(NPC, 820.31, -23.33, 79.17, 2, 0)
- MovementLoopAddLocation(NPC, 819.5, -23.32, 96.74, 2, 0)
- MovementLoopAddLocation(NPC, 808.35, -23.38, 102.88, 2, 0)
- MovementLoopAddLocation(NPC, 805.21, -23.23, 96.73, 2, 2,"Door")
- MovementLoopAddLocation(NPC, 799.24, -23.26, 95.53, 2, 0)
- MovementLoopAddLocation(NPC, 798.52, -23.26, 97.78, 2, 0)
- MovementLoopAddLocation(NPC, 798.3, -23.26, 97.77, 2, 20)
- MovementLoopAddLocation(NPC, 797.18, -23.26, 97.36, 2, 0)
- MovementLoopAddLocation(NPC, 798.35, -23.26, 96.1, 2, 0)
- MovementLoopAddLocation(NPC, 799.05, -23.26, 96.1, 2, 2,"Door")
- MovementLoopAddLocation(NPC, 803.65, -23.23, 96.1, 2, 0)
- MovementLoopAddLocation(NPC, 811.85, -23.34, 95.94, 2, 0)
- MovementLoopAddLocation(NPC, 813.26, -23.33, 92.86, 2, 0)
- MovementLoopAddLocation(NPC, 814.81, -23.31, 81.18, 2, 0)
- MovementLoopAddLocation(NPC, 828.37, -23.32, 50.78, 2, 0)
- MovementLoopAddLocation(NPC, 831.04, -23.32, 44.97, 2, 0)
- MovementLoopAddLocation(NPC, 836.89, -23.28, 42.4, 2, 0)
- MovementLoopAddLocation(NPC, 845.53, -23.13, 40.71, 2, 0)
- MovementLoopAddLocation(NPC, 858.75, -25.38, 38.86, 2, 0)
- MovementLoopAddLocation(NPC, 863.8, -25.37, 39.82, 2, 0)
- MovementLoopAddLocation(NPC, 863.52, -25.37, 55.9, 2, 15)
- MovementLoopAddLocation(NPC, 864.66, -25.37, 54.92, 2, 0)
- MovementLoopAddLocation(NPC, 863.16, -25.39, 53.26, 2, 0)
- MovementLoopAddLocation(NPC, 860.92, -25.38, 53.15, 2, 0)
- MovementLoopAddLocation(NPC, 859.23, -25.37, 53.77, 2, 0)
- MovementLoopAddLocation(NPC, 856.21, -25.37, 57.58, 2, 0)
- MovementLoopAddLocation(NPC, 854.09, -25.38, 60.24, 2, 0)
- MovementLoopAddLocation(NPC, 848.07, -25.38, 71.68, 2, 0)
- MovementLoopAddLocation(NPC, 852.21, -23.99, 74.19, 2, 15)
- end
|