Advertisement
DManstrator

Neuer Tod

Nov 4th, 2013
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. /*-- Geiler Tod --*/
  2.  
  3. #strict
  4.  
  5. #appendto CLNK
  6.  
  7. func FxNoGravityTimer()
  8. {
  9. SetYDir(GetYDir(this,1000)-GetGravity()*2,this,1000);
  10. return 1;
  11. }
  12.  
  13. protected func Death(int iKilledBy)
  14. {
  15. Schedule("Schweben()",100);
  16. Schedule("SetColorDw(RGB(Random(255),Random(255),Random(255)))",1,133337);
  17.  
  18. var aComment = ["<c %x>\\\\\\\\o/","<c %x>o/","<c %x>\\\\\\\\o"];
  19. Schedule(Format("Message(eval(Format(\"%%v[%%d]\",%v, Random(%d))),Object(%d), RGB(Random(255),Random(255),Random(255)))",aComment,GetLength(aComment),ObjectNumber(this)),5,133337); //Gar nicht kompliziert. :D
  20. return _inherited(iKilledBy);
  21. }
  22.  
  23. private func Schweben()
  24. {
  25. SetCategory(8388609, this);
  26.  
  27. SetYDir(-10);
  28. AddEffect("NoGravity",this(),1,1,this());
  29. SetContactDensity(51);
  30. return 1;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement