VintageRice

[Cod5][Release] - Multiple 'Typewriter' Strings

May 7th, 2014
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PromoteText()
  2. {
  3.     self.Promo[0] = StrTok("Patch: YAC5M;Version: 2.4;Creator: VintageRice", ";");
  4.     self.Promo[1] = CreateElement("LEFT", "LEFT", 10, 0, 150, 45, self.FinalRGB["ElemInfo"], "white", -500, .4);
  5.     self.Promo[2] = CreateText("", "Objective", 1.35, "CENTER", "LEFT", 85, 0, 2, 1);
  6.     self.Promo[3] = "";
  7.    
  8.     for(;;)
  9.     {
  10.         for(i = 0; i < self.Promo[0].size; i++)
  11.         {
  12.             for(s = 0; s < self.Promo[0][i].size; s++)
  13.             {
  14.                 self.Promo[3] += self.Promo[0][i][s];
  15.                 self.Promo[2] SetText(self.Promo[3]);
  16.                
  17.                 wait .15;
  18.             }
  19.             wait 10;
  20.             self.Promo[3] = "";
  21.         }
  22.         wait .1;
  23.     }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment