9
3

asupplyvigilante.lua 622 B

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/Nektulos/asupplyvigilante.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.06.19 08:06:02
  5. Script Purpose :
  6. :
  7. --]]
  8. require("SpawnScripts/Generic/GenericCombatVoiceOvers")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 10, "InRange")
  11. end
  12. function InRange(NPC, Spawn)
  13. Attack(NPC, Spawn)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. end
  18. function death(NPC, Spawn)
  19. generic_death(NPC, Spawn)
  20. end
  21. function aggro(NPC, Spawn)
  22. generic_aggro(NPC, Spawn)
  23. end
  24. function respawn(NPC)
  25. spawn(NPC)
  26. end