What are the GML equivalents to:

And

Thats all I need to know please answer =D
Edited by Joshj99, 06 February 2009 - 09:22 PM.
Posted 06 February 2009 - 09:13 PM


Edited by Joshj99, 06 February 2009 - 09:22 PM.
Posted 06 February 2009 - 09:16 PM
Posted 06 February 2009 - 09:17 PM
if (place_snapped(x,y))
if (expression==true) (== is used for comparing values and = is used for setting values but either way is acceptable)
Edited by heyufool1, 06 February 2009 - 09:18 PM.
Posted 06 February 2009 - 09:18 PM
Edited by jakey5565, 06 February 2009 - 09:19 PM.
Posted 06 February 2009 - 09:18 PM

Edited by Joshj99, 06 February 2009 - 09:18 PM.
Posted 06 February 2009 - 09:20 PM
switch (show_message_ext("Question here","Yes",false,"No"))
{
case 1://if the user picked yes
{
//actions here
};break;//dont forget this!
case 2://if the user picked no
{
//actions here
};break;//dont forget this!
}
Edited by heyufool1, 06 February 2009 - 09:21 PM.
Posted 06 February 2009 - 09:20 PM
Posted 06 February 2009 - 09:21 PM
Posted 06 February 2009 - 09:22 PM
Posted 06 February 2009 - 09:23 PM
yes but if you dont need three buttons then mine is better show_message_ext takes longer to program but also allows for custom buttonslol that works too, i personally like show_message_ext because it allows 3 options instead of only yes/no.
0 members, 0 guests, 0 anonymous users