9
3

adefiledsoldier133769617.lua 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/adefiledsoldier133769617.lua
  3. Script Purpose : Waypoint Path for adefiledsoldier133769617.lua
  4. Script Author : Rylec, PlayFlavor by premierio015
  5. Script Date : 06-26-2020 06:15:07
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function waypoints(NPC)
  18. MovementLoopAddLocation(NPC, 136.26, -0.46, -193.21, 2, math.random(12, 22))
  19. MovementLoopAddLocation(NPC, 147.31, 0.09, -190.01, 2, math.random(12, 22))
  20. MovementLoopAddLocation(NPC, 141.26, 0.48, -181.09, 2, math.random(12, 22))
  21. MovementLoopAddLocation(NPC, 138.3, -0.43, -185.23, 2, math.random(12, 22))
  22. MovementLoopAddLocation(NPC, 152.23, -0.52, -189.15, 2, math.random(12, 22))
  23. MovementLoopAddLocation(NPC, 147.14, -0.5, -193.26, 2, math.random(12, 22))
  24. MovementLoopAddLocation(NPC, 144.22, -0.49, -194.2, 2, 0)
  25. MovementLoopAddLocation(NPC, 141.46, -0.48, -198.06, 2, math.random(12, 22))
  26. MovementLoopAddLocation(NPC, 145.67, -0.39, -193.03, 2, 0)
  27. MovementLoopAddLocation(NPC, 151.45, -0.52, -189.21, 2, math.random(12, 22))
  28. end
  29. function aggro(NPC, Spawn)
  30. math.randomseed(os.time())
  31. local choice = math.random (1,3)
  32. if choice == 1 then
  33. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_aggro_c77d7bff.mp3", "Your eyes are so pretty.", "", 1412152942, 873988632, Spawn)
  34. elseif choice == 2 then
  35. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_aggro_2168c5.mp3", "Seek death and it finds you.", "", 2988489621, 1045543573, Spawn)
  36. else
  37. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_aggro_8bc7a2cc.mp3", "Your blood calls to me.", "", 1242322025, 1154999668, Spawn)
  38. end
  39. end
  40. function death(NPC, Spawn)
  41. math.randomseed(os.time())
  42. local choice = math.random(1,2)
  43. if choice == 1 then
  44. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_death_ff39f327.mp3", "Final death comes at last.", "", 3768284332, 62777040, Spawn)
  45. else
  46. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_death_fbcb503b.mp3", "Rest in peace.", "", 3591309093, 1423656405, Spawn)
  47. end
  48. end