transportacademy1.lua 638 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/NorthFreeport/transportacademy0.lua
  3. Script Author : Cynnar
  4. Script Date : 2018.06.05 12:06:46
  5. Script Purpose :
  6. Script Notes : Took Jabantiz's script for this
  7. --]]
  8. --[[
  9. Script Name : SpawnScripts/GreaterFaydark/TunaresSaplingAcornLift.lua
  10. Script Purpose : Automate the Kelethin lifts
  11. Script Author : Jabantiz
  12. Script Date : 5/29/2018
  13. Script Notes : <special-instructions>
  14. --]]
  15. function spawn(NPC)
  16. AddTransportSpawn(NPC)
  17. AddTimer(NPC, 25000, "UseLift")
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end
  22. function UseLift(NPC)
  23. UseWidget(NPC)
  24. AddTimer(NPC, 25000, "UseLift")
  25. end