FulkoirHaggleton.lua 912 B

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : SpawnScripts/Oakmyst/FulkoirHaggleton.lua
  3. Script Purpose : Fulkoir Haggleton
  4. Script Author : John Adams
  5. Script Date : 2009.05.04
  6. Modified by : Ememjr
  7. Modified Date : 2017.04.22
  8. Modified Notes : fixed to work with current Content on Official
  9. Script Notes : Auto-Generated Conversation from PacketParser Data
  10. --]]
  11. function spawn(NPC)
  12. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function InRange(NPC, Spawn)
  18. PlayFlavor(NPC, "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, Spawn)
  19. MoveToLocation(NPC, 927.44, 2.5, -355.01, 4)
  20. end
  21. function LeaveRange(NPC, Spawn)
  22. end
  23. function hailed(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. end