p59alanatrigger.lua 433 B

12345678910111213141516171819
  1. --[[
  2. Script Name : SpawnScripts/Nektropos1/p59alanatrigger.lua
  3. Script Author : smash
  4. Script Date : 2018.06.07 01:06:16
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function casted_on(NPC)
  11. if GetTempVariable(NPC, "TrapTriggered") ~= "true" then
  12. SetTempVariable(NPC, "TrapTriggered", "true")
  13. SpawnByLocationID(GetZone(NPC), 616580)
  14. SpawnSet(NPC, "show_command_icon", 0)
  15. end
  16. end