9
3

aduck1.lua 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : SpawnScripts/Baubbleshire/aduck1.lua
  3. Script Purpose : a duck
  4. Script Author : Scatman
  5. Script Date : 2009.05.11
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. MovementLoopAddLocation(NPC, 884.95, -16.29, -517.31, 3, 0)
  10. MovementLoopAddLocation(NPC, 886.49, -16.56, -511.8, 3, 0)
  11. MovementLoopAddLocation(NPC, 893.66, -17.41, -500.2, 3, 0)
  12. MovementLoopAddLocation(NPC, 893.51, -17.7, -496.18, 3, 0)
  13. MovementLoopAddLocation(NPC, 883.13, -18.43, -483.9, 3, 0)
  14. MovementLoopAddLocation(NPC, 882.44, -19.07, -473.49, 3, math.random(0, 30))
  15. MovementLoopAddLocation(NPC, 884.19, -19.25, -468.98, 3, 0)
  16. MovementLoopAddLocation(NPC, 890.28, -19.16, -463.74, 3, 0)
  17. MovementLoopAddLocation(NPC, 892.22, -18.87, -457.62, 3, 0)
  18. MovementLoopAddLocation(NPC, 870.25, -18.65, -443.54, 3, 0)
  19. MovementLoopAddLocation(NPC, 863.65, -18.82, -447.37, 3, 0)
  20. MovementLoopAddLocation(NPC, 856.23, -19.49, -457.42, 3, 0)
  21. MovementLoopAddLocation(NPC, 864.64, -19.07, -478.05, 3, math.random(0, 30))
  22. MovementLoopAddLocation(NPC, 864.75, -18.1, -486.71, 3, 0)
  23. MovementLoopAddLocation(NPC, 870.82, -17.82, -493.26, 3, 0)
  24. MovementLoopAddLocation(NPC, 884.55, -15.57, -527.9, 3, 0)
  25. MovementLoopAddLocation(NPC, 889.13, -15.57, -526.2, 3, 0)
  26. end
  27. function respawn(NPC)
  28. spawn(NPC)
  29. end
  30. function hailed(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. end