Kupoapo

draw_text_reset (2.2)

Mar 7th, 2020 (edited)
376
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.  
  8. #region SOURCE CODE
  9.  
  10. //Checks if the variable has been defined.
  11. if variable_instance_exists(id, "_text_char"){
  12.    
  13.     //Resets the defined variables for text scrolling.
  14.     _text_char      = 0;
  15.     _text_prev      = 0;
  16.     _text_sleep     = 0;
  17.    
  18. }
  19.  
  20. #endregion
  21.  
  22. //########################################################
  23. ///
  24. ///     Created by Kupoapo
  25. ///
  26. //########################################################
RAW Paste Data