Help Please

This forum is meant for posting anything related to Adventure Maker that doesn't fit in the other forums.Please post technical questions in the Technical Support Forum!

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Help Please

Postby tripper1977 » Sun Feb 13, 2011 3:09 am

hello all can eney one help me please could eney one tell me how to set up a InPut Box That You Have To Put You Name In Then It Displays Your name in a list on another frame our the same frame thank for all you time
tripper1977
Member
 
Posts: 20
Joined: Fri Nov 30, 2007 2:37 pm

Postby time-killer-games » Sun Feb 13, 2011 6:41 pm

Yep it works just as I thought...

Put everything in the frame/hotspot properties window..

Try this:
Code: Select all
qa = InputBox ("What is your name?","Q&A","[Enter your name here]")
Message "Nice to meet you " + qa + "!"


Everywhere in your game that you want the name mentioned again just use qa + the other captions in your text.

please don't hesitate let me know if you have any more questions.

Have a blessed day!
TKG
User avatar
time-killer-games
Expert Member
 
Posts: 400
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

help please

Postby tripper1977 » Mon Feb 14, 2011 1:39 pm

a bit like that but what i nead is when you run the program for the first time a input box comes up and at the back of the inputbox is a list when you put your name in the input box and press ok it will display your name in the list thanks for your help
tripper1977
Member
 
Posts: 20
Joined: Fri Nov 30, 2007 2:37 pm

Postby reneuend » Mon Feb 14, 2011 2:45 pm

Hey Tripper,

Could you give more details about this list? If it's just one name at the beginning, why is a list needed? When you say, "behind the input box", do you mean the main frame window that Adventure Maker presents?

thanks!
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby Lyberodoggy » Mon Feb 14, 2011 2:47 pm

You should then use a ListBoxObject. first load it using LoadControl ListboxObject(1) and then add items to it using ListboxObject(1).additem("item")
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

help please

Postby tripper1977 » Mon Feb 14, 2011 3:14 pm

ok befor you can do enething else in the game you have to enter your name in to a inputbox and when you click ok buton your name is displayed in a list box on the frame then you click on you name to get to the next frame thank you for all your help
tripper1977
Member
 
Posts: 20
Joined: Fri Nov 30, 2007 2:37 pm


Return to Adventure Maker General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests