Advertisement
Guest User

Untitled

a guest
Mar 21st, 2017
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GAMBAS 0.42 KB | None | 0 0
  1. with (other) {
  2.     if (!instance_exists(dialog)) {
  3.         dialog = instance_create(x+xoffset, y+yoffset, obj_dialog);
  4.         dialog.text = text;
  5.     } else {
  6.          dialog.text_page++;
  7.          dialog.text_count = 0;
  8.          if (dialog.text_page > array_length_1d(dialog.text)-1); {
  9.             with (dialog) {
  10.             instance_destroy();
  11.            }
  12.         } else {
  13.             //Hacer nada
  14.         }
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement