abloodthirstyworg2.lua 640 B

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/WailingCaves/abloodthirstyworg2.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.07.08 07:07:57
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. end
  12. function FollowMaster2(NPC, Spawn)
  13. local zone = GetZone(NPC)
  14. local Worg404852 = GetSpawnByLocationID(zone, 404870)
  15. if Worg404852 ~= nil then
  16. SetFollowTarget(NPC, Worg404852)
  17. SetSpeed(NPC , 2)
  18. ToggleFollow(NPC)
  19. local Worg404850 = GetSpawnByLocationID(zone, 404850)
  20. if Worg404850 ~= nil then
  21. AddTimer(Worg404850, 500, "FollowMaster3")
  22. end
  23. end
  24. end