Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: Dialog Help  (Read 933 times)

0 Members and 1 Guest are viewing this topic.
Dialog Help
« on: April 21, 2008, 05:12:58 pm »
  • The king of Awesome
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 198
Well I have my textbox fade in and the text shows before the fading is done, I'm using the switch statement to control my text. I have tried using true/false but since it don't work in the step event I couldn't fix.

You can download the GMK here, hopefully someone can help^^
http://www.megaupload.com/?d=ZB47PU9G

in obj_demo replace the enter event replace the code with this.

Code: [Select]
instance_create(view_xview[0]-2,view_yview-8,object4)
global.face = fcs_Goku_001;
if object_exists(obj_textbox) {
with obj_textbox instance_destroy(); }
if global.show_textbox=true
{
switch (dialog) {
case 0:
textbox("   --~Mystic`-- # Legacy of Goku ]perfect` dialog engine.",false,0,fcs_Goku_001);  break;
case 1:
textbox("   --~Mystic`-- # 1",false,0,fcs_Goku_001);  break;
case 2:
textbox("   --~Mystic`-- # 2",false,0,fcs_Goku_001);   break;
}}
dialog+=1;
if dialog>3 {
instance_destroy(); }

In obj_demo you'll see you have to enter twice!
Logged
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.061 seconds with 39 queries.

anything