Advertisement
OmegaGamingHunters

Obj_dialog_CreateEvent

Aug 18th, 2019
485
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.54 KB | None | 0 0
  1. //Text
  2. DialogText = "";
  3. CurrentDialog = 0;
  4. MaximumDialog = 0;
  5. DialogType = 0;
  6.  
  7. PlayerObject = object_index; //The object being used as the player
  8. DialogKey = keyboard_key; //The key being used for advancing the dialog
  9. InstantKey = keyboard_key; //The key that draws out all the text instantly
  10. DialogKey2 = keyboard_key;
  11. InstantKey2 = keyboard_key;
  12. InDialog = false; //In a Dialog State
  13. Speaking = false; //The Text is currently being typed out still
  14. DialogDone = false; //When all of the dialog has been exhausted
  15.  
  16. //Dialog Box Properties
  17. DialogBox_Sprite = sprite_index; //Dialog Box Sprite
  18. DialogBox_X = x; //Dialog Box X Position
  19. DialogBox_Y = y; //Dialog Box Y Position
  20.  
  21. //Text Properties
  22. Text_Font = draw_get_font(); //The font of the text
  23. Text_Color = draw_get_color(); //The color of the text
  24. Text_Sound = 0; //The sound the text makes as its being typed out
  25. Text_Speed = 0; //The speed at which the text is being typed out
  26. Text_X = x; //The text X Position
  27. Text_Y = y; //The text Y Position
  28.  
  29. //PlayerChoice Properties
  30. PlayerSoul = sprite_index; //The sprite used for the cursor (The soul of the player)
  31. PlayerSoul_X = x; //The Soul X Position
  32. PlayerSoul_Y = y; //The Soul Y Position
  33. ChoiceFont = draw_get_font(); //The Font of the Choice Text
  34. ChoiceColor_Normal = draw_get_color(); //The Color of the Choice Text when normal
  35. ChoiceColor_Highlighted = draw_get_color(); //The Color of the Choice Text when highlighted
  36. MoveSFX = 0; //The sound when you move around the cursor
  37. SelectSFX = 0; //The sound when you selected one of the choices
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement