Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function script.StartBuilding(heading, pitch)
- -- TODO: This is where you would add your unpack / point towards animation
- Turn(turret, y_axis, heading, 100)
- SetUnitValue(COB.INBUILDSTANCE, true)
- local building = true
- while(building == true) do
- EmitSfx (nanopoint1, 1024)
- EmitSfx (nanopoint2, 1024)
- end
- end
- function script.StopBuilding()
- -- TODO: This is where you would add your pack-up animation
- SetUnitValue(COB.INBUILDSTANCE, false)
- local building = false
- --StartThread(RestoreAfterDelay)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement