VennipOgbin.lua 604 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/Castleview/VennipOgbin.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.29 04:10:48
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  11. SetInfoStructString(NPC, "action_state", "drinking_idle")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericEcologyHail(NPC, Spawn, faction)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericEcologyCallout(NPC, Spawn, faction)
  19. end