SentrySecord.lua 651 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/Antonica/SentrySecord.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.05.10 08:05:53
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseHuman1.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. if GetFactionAmount(Spawn,11)<0 then
  16. else
  17. FaceTarget(NPC, Spawn)
  18. PlayFlavor(NPC,"voiceover/english/voice_emotes/greetings/greetings_2_1034.mp3","","hello",0,0,Spawn)
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end