Game Development Community

Dialog Box Help

by James Donnelly · in Torque Game Builder · 03/29/2011 (5:39 am) · 0 replies

Hey guys, I'm new to coding in Torque, but I need to do this for my final year project at uni. I'm a bit stuck though and need some help!

I'm making a game which includes a section where players answer multiple-choice questions and receive an item, however I have no idea how to use dialog boxes in Torque, and Google doesn't seem to want to help me much!

In C# I've coded a simple form which reads a question from a text file and displays two answers (from the same text file) in text boxes on the form. When a question is clicked, it displays a message saying that the answer was either correct or incorrect. If it was correct, the player should gain an item.

How can I make this in Torque Game Builder, so that when a player's character touches a 'question box' (using onCollision) a question pops up in a similar fashion?

Thanks in advance!

About the author

Recent Threads