FineNerds

Function w/Error

Dec 23rd, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.51 KB | None | 0 0
  1.                 LOLCATS = 0;
  2.                 for(j=0;j<2;j++){
  3.                 self iPrintln("TS");
  4.                 for(i=60;i<240;i+=60){
  5.                             level.Mcrates[h] = spawn("script_model", center+(i,0,LOLCATS));
  6.                             level.Mcrates[h] setModel("t6_wpn_supply_drop_ally");
  7.                             self iPrintln("T1");
  8.                             h++;}
  9.                     for(i=60;i<240;i+=60){
  10.                         level.Mcrates[h] = spawn("script_model", center-(i,0,0-LOLCATS));
  11.                         level.Mcrates[h] setModel("t6_wpn_supply_drop_ally");
  12.                             self iPrintln("T2");
  13.                         h++;}
  14.                 for(i=60;i<240;i+=60){
  15.                         level.Mcrates[h] = spawn("script_model", center-(0,i,0-LOLCATS));
  16.                         level.Mcrates[h].angles = (0,90,0);
  17.                         level.Mcrates[h] setModel("t6_wpn_supply_drop_ally");
  18.                             self iPrintln("T3");
  19.                         h++;}
  20.                 for(i=60;i<240;i+=60){
  21.                         level.Mcrates[h] = spawn("script_model", center+(0,i,LOLCATS));
  22.                         level.Mcrates[h].angles = (0,90,0);
  23.                         level.Mcrates[h] setModel("t6_wpn_supply_drop_ally");
  24.                             self iPrintln("T4");
  25.                         h++; }
  26.                 foreach(Mcrates in level.Mcrates){
  27.                         Mcrates linkto(midpoint);
  28.                         link1++;
  29.                             self iPrintln("T5 Link " + link1);
  30.                             wait 0.2;}
  31.                 for(x=0;x<6;x++){
  32.                         midpoint rotateto(midpoint.angles+(0,11.25,0),0.05);
  33.                         wait 0.1;
  34.                         for(i=60;i<240;i+=60){
  35.                                 level.Mcrates[h] = spawn("script_model", center-(0,i,0-LOLCATS));
  36.                                 level.Mcrates[h].angles = (0,90,0);
  37.                                 level.Mcrates[h] setModel("t6_wpn_supply_drop_ally");
  38.                             self iPrintln("T6");
  39.                                 h++;}
  40.                         for(i=60;i<240;i+=60){
  41.                                 level.Mcrates[h] = spawn("script_model", center+(0,i,LOLCATS));
  42.                                 level.Mcrates[h].angles = (0,90,0);
  43.                                 level.Mcrates[h] setModel("t6_wpn_supply_drop_ally");
  44.                             self iPrintln("T7");
  45.                                 h++;}
  46.                                 for(i=60;i<240;i+=60){
  47.                                 level.Mcrates[h] = spawn("script_model", center-(i,0,0-LOLCATS));
  48.                                 level.Mcrates[h] setModel("t6_wpn_supply_drop_ally");
  49.                             self iPrintln("T8");
  50.                                 h++;}
  51.                         for(i=60;i<240;i+=60){
  52.                                 level.Mcrates[h] = spawn("script_model", center+(i,0,LOLCATS));
  53.                                 level.Mcrates[h] setModel("t6_wpn_supply_drop_ally");
  54.                             self iPrintln("T9");
  55.                                 h++;}
  56.                         foreach(Mcrates in level.Mcrates){
  57.                                 Mcrates linkto(midpoint);
  58.                                 link2++;
  59.                             self iPrintln("T10 Link " + link2);}
  60.                             self iPrintln("TA");}
  61.                 LOLCATS+=180;
  62.                 wait 0.2;}
Advertisement
Add Comment
Please, Sign In to add comment