Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

What the code to close it?

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
xnevilnx07
Member
Member
Posts: 12
Joined: June 1st, 2010, 8:13 am
Name: law

What the code to close it?

Post by xnevilnx07 »

I wan to close the talk bar... What's the code pls help me
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: What the code to close it?

Post by arcones »

When you are at the end of the script, just make a button that says close

Code: Select all

guibutton "[close]" "cleargui"
]
Add that under the last bit of text in your script and that should close the box.
Have a good one,

Arcones :geek:
Image
Want a user bar like this one? PM Leo!
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: What the code to close it?

Post by Leo_V117 »

Actually, arc, if you read the TUT correctly, I stated that the button name should be within "" and the function within []

@xnevilnx07: Its better if you do this:

Code: Select all

guibutton "Close" [cleargui; echo "See Ya"; sleep 1000 [say "Bye"]]
Hope that Helps.
- Leo
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: What the code to close it?

Post by arcones »

Yeah, my point was this, my close was just saying a "this is a close button." I just did an easy example. :)
Image
Want a user bar like this one? PM Leo!
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: What the code to close it?

Post by Leo_V117 »

Oh, Okay, But It is easy to make a mistake and misread the statement.
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: What the code to close it?

Post by arcones »

Yeah it is :)
Image
Want a user bar like this one? PM Leo!
xnevilnx07
Member
Member
Posts: 12
Joined: June 1st, 2010, 8:13 am
Name: law

Re: What the code to close it?

Post by xnevilnx07 »

Thanks for you to reply me
User avatar
Runescapedj
Member
Member
Posts: 1706
Joined: January 9th, 2010, 9:06 am
Name: Michiel
IRC Username: Sandboxdj
Location: Deventer, the Netherlands

Re: What the code to close it?

Post by Runescapedj »

So this is the way you guys (Leo and Arc) get so much posts!
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: What the code to close it?

Post by arcones »

Uh huh!

:D
Image
Want a user bar like this one? PM Leo!
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: What the code to close it?

Post by Leo_V117 »

Yep... Im the menu coder, hes the argument coder... although I can do both.
Locked