9
3

Gilrix.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/Oakmyst/Gilrix.lua
  3. Script Purpose : Spawn script for GIlrix
  4. Script Author : Scatman
  5. Script Date : 2009.05.03
  6. Script Notes :
  7. --]]
  8. local QUEST_FROM_CHARLIN_4 = 207
  9. local FULKOIR_RUN_SPEED = 10
  10. function spawn(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function aggro(NPC, Spawn)
  18. if HasQuest(Spawn, QUEST_FROM_CHARLIN_4) and GetQuestStep(Spawn, QUEST_FROM_CHARLIN_4) == 1 then
  19. Fulkoir = GetSpawn(Spawn, 1950083)
  20. if Fulkoir ~= nil then
  21. PlayFlavor(Fulkoir, "voiceover/english/tutorial_revamp/fulkoir_haggleton/qey_adv01_oakmyst_revamp/qst_fulkoir_gone_ff0a041c.mp3", "I'd have to be five times as crazy as I already am to stay here!", "", 2327597972, 1883003048)
  22. MovementLoopAddLocation(Fulkoir, 990.39, 12.85, -270.46, FULKOIR_RUN_SPEED, 0)
  23. MovementLoopAddLocation(Fulkoir, 967.24, 8.43, -295.91, FULKOIR_RUN_SPEED, 0)
  24. MovementLoopAddLocation(Fulkoir, 945.64, 4.69, -314.65, FULKOIR_RUN_SPEED, 0)
  25. MovementLoopAddLocation(Fulkoir, 942.97, 2.22, -350.52, FULKOIR_RUN_SPEED, 0)
  26. MovementLoopAddLocation(Fulkoir, 996.30, 2.98, -348.56, FULKOIR_RUN_SPEED, 0, DespawnFulkoir)
  27. end
  28. end
  29. end