chronic 4 gamemaker team


    Message boxes

    Share

    Flyboymonkey
    Admin

    Posts : 93
    Join date : 2010-03-29
    Age : 36

    Message boxes

    Post  Flyboymonkey on Mon Mar 29, 2010 11:15 pm

    Code:
    /*
    0=string "lol i pwned"
    1=  1= ok button message 2= ext_messages(multi choice
    2=button1
    3button2
    4button3
    5resultbutton1
    6""  ""  2
    7 ""  "" 3
    */

    message_background(msg_boxbg)
    message_button(msg_button)
    if argument1=1{show_message(argument0)}
    if argument1=2{
    switch ( show_message_ext(argument0,argument2,argument3,argument4))
    {
     case 0:
     {
         
         
          break
     }
     case 1:
     {
          show_message( argument5)
         
          break
     }
     case 2:
     {
          show_message( argument6)
         
          break
     }
     case 3:
     {
          show_message( argument7)
         
          break
     }
     }}

    Simple message box script.. Easy story?
    avatar
    codyyo2
    Admin

    Posts : 57
    Join date : 2010-03-29

    Re: Message boxes

    Post  codyyo2 on Tue Mar 30, 2010 1:44 pm

    Looks sound…

    Flyboymonkey
    Admin

    Posts : 93
    Join date : 2010-03-29
    Age : 36

    Re: Message boxes

    Post  Flyboymonkey on Tue Mar 30, 2010 3:55 pm

    It is sound ^^
    avatar
    codyyo2
    Admin

    Posts : 57
    Join date : 2010-03-29

    Re: Message boxes

    Post  codyyo2 on Tue Mar 30, 2010 7:09 pm

    Then I think we should use it.

    Sponsored content

    Re: Message boxes

    Post  Sponsored content


      Current date/time is Wed Jul 18, 2018 9:43 pm