Hi,
Im fairly new to this AGS. Have done some research and got most of my problems fixed but I do have one simple question hopefully someone can answer or point me in the right direction. I want a text box to always show on each room. In this box I want a description of the room. How do I do this? Ive created a text box in the GUI section but I dont know how to assign text to it. I want this text to change everytime I enter a different room.
Thanks!
The simpliest way to construct it would be to make a label on some persistant GUI, and have in each room's Player Enters Room interaction the script something like:
RoomDescription.SetText("Room Description");
Replacing
RoomDescription with the label object's script name.
Or you could create a room property which you set in each room to the description, and using the global on_event function get the room property text on new room load and change the label text according to.
It's also worth noting that you actually need a Label, not a TextBox - TextBoxes are for taking text input, rather than displaying it. (If you're already using a Label object, and just said text box, ignore this.)
alright..this is what i did before many times...now its working...
thanks again!! i know ill have many other questions later on :D