Zunar's Games

Need programming help? Want to post programming tips? Are you programming a game and want to show it off? That and more here.

Re: Zunar's Games

Postby agentms11 » February 26th, 2010, 5:40 am

Code: Select all
message = show_message_ext( "What do you want to say?" , "Hi" , "Hello" , "Bye");
if message = 1
{
Do something;
}
else if message = 2
{
Do another something;
}
else if message = 3
{
Do something different;
}

This one?
I tested it and it works.
Just to test it, do this.
Code: Select all
message = show_message_ext( "What do you want to say?" , "Hi" , "Hello" , "Bye");
if message = 1
{
show_message( "You said Hi!!!" );
}
else if message = 2
{
show_message( "You said Hello!!!" );
}
else if message = 3
{
show_message( "You said Bye!!!" );
}
BROCCOLI TASTES LIKE CHICKEN!
YEAH!


NOW FOR... ARTEMIS FOWL!!!!
ImageImageImageImageImage
User avatar
agentms11
As Ninja As Myst

 
Posts: 138
Joined: August 1st, 2009, 5:13 pm

Thumbs Up given: 0 times
Thumbs Up received: 0 times

Re: Zunar's Games

Postby Zunar » March 1st, 2010, 3:37 pm

Ok ty! :D
User avatar
Zunar
Honorary Member

 
Posts: 1838
Joined: August 1st, 2009, 4:50 pm
Location: In the shadows, where you'll never find me.

Thumbs Up given: 14 times
Thumbs Up received: 51 times

Previous

Return to Programming