Advertisement
OmegaGamingHunters

obj_dialog_draw_gui_event

Aug 18th, 2019
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. if (InDialog == true)
  2. {
  3.     draw_set_font(Text_Font);
  4.     draw_set_color(Text_Color);
  5.    
  6.     draw_sprite(DialogBox_Sprite, 0, DialogBox_X, DialogBox_Y);
  7.     draw_text(Text_X, Text_Y, DialogText);
  8.    
  9.     if ((keyboard_check_pressed(DialogKey) or keyboard_check_pressed(DialogKey2)) and DialogDone == false)
  10.     {
  11.         CurrentDialog++;
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement