1234567891011121314151617181920212223242526272829 |
- --[[
- Script Name : SpawnScripts/Generic/AHardManToPleaseOrcsScript.lua
- Script Author : Premierio015
- Script Date : 2021.05.21 09:05:35
- Script Purpose :
- :
- --]]
- function spawn(NPC)
- SetPlayerProximityFunction(NPC, 50, "InRange")
- end
- function InRange(NPC, Spawn)
- if IsPlayer(Spawn) then
- Attack(NPC, Spawn)
- end
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
-
|