Advertisement
Guest User

f

a guest
Jul 6th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. local function MoverAnimEvents()
  2. RunHandled(
  3. WaitForever,
  4.  
  5. On(Event(Detector_01.Activated)),
  6. function()
  7.  
  8. ParticlesImpactDust:Start()
  9. AnimatorMotionBlur:StartAnimation("Impact")
  10. AnimatorStreaks:StartAnimation("Impact")
  11. ShakerBig:StartShaking()
  12. Wait(Delay(1))
  13. ShakerSmall:StartShaking()
  14. Wait(Delay(1))
  15. BurningParticles:DisableEmitting()
  16. end
  17. )
  18. end
  19.  
  20. BurnedSpaceShipVisibility:StartAnimation("NotVisible")
  21. DestroyedSpaceShip:Disappear()
  22. RunAsync(MoverAnimEvents)
  23.  
  24. -- space ship force spawn/death code
  25. if false then
  26. Wait(Delay(2))
  27. SignalEvent("Start Spaceship fight")
  28. Wait(Delay(1))
  29. --SpaceShip:SetHealth(1)
  30. end
  31.  
  32. -- start space ship destruction in-game sequence
  33. Wait(CustomEvent("Started Spaceship Warpout"))
  34. Wait(Delay(2.5))
  35. BurnedSpaceShipVisibility:StartAnimation("Appearing")
  36. DestroyedSpaceShip:Appear()
  37. MoverSpaceship:PlayAnim("Dying")
  38. DestroyedSpaceShip:PlayAnimStay("Dying")
  39. SpaceShipBurnedAnimator:StartAnimation("Burning")
  40. WarpOutFailSound:PlayOnce()
  41. BurnedSpaceShipExplodingSound:PlayOnce()
  42. Wait(Delay(1))
  43. BurningParticles:Start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement