GwenevynII.lua 446 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/GwenevynII.lua
  3. Script Purpose : script to move the boat in Frostfang Sea
  4. Script Author : theFoof
  5. Script Date : 11.19.13
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. AddTransportSpawn(NPC)
  10. SpawnSet(NPC, "activity_state", "64")
  11. AddTimer(NPC, 85000, "UseLift")
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function UseLift(NPC)
  17. UseWidget(NPC)
  18. AddTimer(NPC, 85000, "UseLift")
  19. end