Kupoapo

draw_text_reset (2.3)

Jan 12th, 2021
251
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //#########################################################
  2.  
  3. ///     Description:    Resets the scrolling text.
  4. ///     Usage:          draw_text_reset()
  5.  
  6. //########################################################
  7. function draw_text_reset(){
  8.    
  9.     #region SOURCE CODE
  10.  
  11.     //Checks if the variable has been defined.
  12.     if variable_instance_exists(self.id, "_text_char"){
  13.    
  14.         //Resets the defined variables for text scrolling.
  15.         _text_char      = 0;
  16.         _text_prev      = 0;
  17.         _text_sleep     = 0;
  18.    
  19.     }
  20.  
  21.     #endregion
  22.  
  23. }
  24. //########################################################
  25. ///
  26. ///     Created by Kupoapo
  27. ///
  28. //########################################################
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×