| 03-05-2005, 02:42 PM | #1 |
In many games (such as Water War or Battleships) they have a menu displayed that asks you a question or gives you a choice. Water war uses this to let you choose your abilities. I can't find it in the triggers anywhere... did they do it with script? if so I'm screwed, because I have no idea how to do that ![]() |
| 03-05-2005, 02:51 PM | #2 |
Its probably dialogs, in which you will need to create a dialog system with buttons for various selections. Ill show you a little code snippet: Code:
dialogMake
Events
Time - Elapsed game time is 0.50 seconds
Conditions
Actions
Dialog - Show DemoDialog for Player 1 (Red)
Dialog - Create a dialog button for DemoDialog labelled Button1
Set btn1 = (Last created dialog Button)
Dialog - Create a dialog button for DemoDialog labelled Another button
Set btn2 = (Last created dialog Button)
dialogClickbutton1
Events
Dialog - A dialog button is clicked for DemoDialog
Conditions
(Clicked dialog button) Equal to btn1
Actions
-------- Do stuff --------
dialogClickbutton2
Events
Dialog - A dialog button is clicked for DemoDialog
Conditions
(Clicked dialog button) Equal to btn2
Actions
-------- Do cooler stuff --------Thats the basics, I can explain more if you want. |
| 03-05-2005, 03:57 PM | #3 |
Great, thats awesome. It should be easy to adapt to make it 3 buttons. thanks alot! |
