Toofar.lua 682 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/TheDisconcertingMeditation/Toofar.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.11.21 05:11:29
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 8, "InRange", "LeaveRange")
  10. end
  11. function InRange(NPC,Spawn)
  12. SendPopUpMessage(Spawn,"You have stepped beyond the meditation and are awakened.",255,255,255)
  13. SendMessage(Spawn,"You have stepped beyond the meditation and are awakened.","white")
  14. NQ = GetZone("northqeynos")
  15. Zone(NQ,Spawn,281.55, -13.58, 97.29, 283.43)
  16. SpawnSet(Player,"visual_state",0)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end