acircleintiate.lua 790 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/CrowsTomb/acircleintiate.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.10.03 08:10:49
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC) -- THAT'S HOW THE MOVEMENT SHOULD BE SCRIPTED
  9. if GetSpawnLocationID(NPC) == 434506 then
  10. MovementLoopAddLocation(NPC, -3.45, -0.39, 6.13, 2, MakeRandomInt(16, 24))
  11. MovementLoopAddLocation(NPC, -3.96, 0.00, -11.80, 2, MakeRandomInt(16, 24))
  12. elseif GetSpawnLocationID(NPC) == 434505 then
  13. MovementLoopAddLocation(NPC, -18.57, 0.00, 9.55, 2, MakeRandomInt(16, 24))
  14. MovementLoopAddLocation(NPC, -19.25, 0.00, -11.34, 2, MakeRandomInt(16, 24))
  15. end
  16. end
  17. function hailed(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end