9
3

afroglokcitizen_(swimming).lua 624 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/afroglokcitizen_(swimming).lua
  3. Script Purpose : makes a froglok citizen swim around in circles
  4. Script Author : theFoof
  5. Script Date : 2013.9.14
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. MovementLoopAddLocation(NPC, 19, 146.01, -60, 1, 10)
  10. MovementLoopAddLocation(NPC, 17.74, 146.01, -33.01, 1, 0)
  11. MovementLoopAddLocation(NPC, 58.43, 146.12, -26.07, 1, 0)
  12. MovementLoopAddLocation(NPC, 73.05, 146.12, -38.18, 1, 0)
  13. MovementLoopAddLocation(NPC, 73.8, 146.12, -71.37, 1, 0)
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. end