Advertisement
ForbodingAngel

Untitled

Sep 16th, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. function script.StartBuilding(heading, pitch)
  2. -- TODO: This is where you would add your unpack / point towards animation
  3. Turn(turret, y_axis, heading, 100)
  4. SetUnitValue(COB.INBUILDSTANCE, true)
  5. local building = true
  6. while(building == true) do
  7. EmitSfx (nanopoint1, 1024)
  8. EmitSfx (nanopoint2, 1024)
  9. end
  10. end
  11. function script.StopBuilding()
  12. -- TODO: This is where you would add your pack-up animation
  13. SetUnitValue(COB.INBUILDSTANCE, false)
  14. local building = false
  15. --StartThread(RestoreAfterDelay)
  16.  
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement