OmegaGamingHunters

obj_testfroggit_create_event

Aug 23rd, 2019
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.05 KB | None | 0 0
  1. InDialog = false; //Checks to see if your in dialog
  2. DoneSpeaking = false; //Checks to see if the NPC is done talking
  3. PortraitState = false; //Checks to see if the text will have a portrait in it
  4. i = 0;
  5.  
  6. TestDialog[0] = "* Ribbit, ribbit. #(L)* (Excuse me, human.)"; //Dialog String
  7. TestDialog[1] = "* (Allow me to take the time and #(L)* introduce the dialog system.)";
  8.  
  9. Dialog_String = TestDialog[0]; //Actual variable used in the Dialog Script
  10.  
  11. DialogBoxSprite = spr_dialog_box; //The sprite of the dialog box
  12. DialogBox_X = window_get_width()/2; //The dialog box X position
  13. DialogBox_Y = 395; //The dialog box Y position
  14.  
  15. PortraitSprite_Face = -1; //The portrait sprite itself
  16. PortraitSprite_Talking = -1; //The portrait sprite itself when talking
  17. Portrait_X = DialogBox_X - 215; //The portraits X position
  18. Portrait_Y = DialogBox_Y - 3; //The portraits Y position
  19.  
  20. Text_X = 60; //The text X position
  21. Text_Y = 340; //The text Y position
  22. MaxStringWidth = 600; //Maximum length of each line of text
  23. StringSep = 36; //The seperation between lines of text
Advertisement
Add Comment
Please, Sign In to add comment