ASwineFiend.lua 682 B

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : SpawnScripts/Nektropos1/ASwineFiend.lua
  3. Script Purpose :
  4. Script Author : smash
  5. Script Date : 1/26/2016
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. MovementPath1(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. end
  17. function MovementPath1(NPC)
  18. MoveToLocation(NPC, -43.37, 0.5, 65.91, 2, "MovementPath2")
  19. end
  20. function MovementPath2(NPC)
  21. MoveToLocation(NPC, -9.41, 0.5, 66.21, 2, "MovementPath3")
  22. end
  23. function MovementPath3(NPC)
  24. MoveToLocation(NPC, -9.35, 0.5, 40.40, 2, "MovementPath4")
  25. end
  26. function MovementPath4(NPC)
  27. MoveToLocation(NPC, -17.23, 0.5, 40.39, 2)
  28. end