HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Dialoge Disaster

11-15-2003, 04:41 PM#1
9398hrb
I wanted to make a dialog menu so i used "Dialog Menus Tutorial by mikititan". In his first screen shot it shows the variables he made. I tried but it woulnt let me. http://www.wc3campaigns.com/sections...ttingVariables In his it has 'Variable type= Dialog', 'Initial value= -None-'. In mine i cant clear the inital value, its stuck on 'New Dialog(default)' I copyed it apart from that but i dont work emote_confused emote_confused emote_confused I notice that the guide is for WCIII Editor not WCIII TFT Editor, maybe that is the cause




HELP ME PLZ!!!:bgrun:
11-15-2003, 06:24 PM#2
Eriond
DIalogues are the same in TFT as in RoC. Here's how to create a simple Dialogue

Code:
Events - Game time elapsed is 0.01 seconds.

Actions - 
Dialog - Create a dialog button for DialogueVariable labelled Yes
Set Button1 to (Last created dialogue button)
Dialog - Create a dialog button for DialogueVariable labelled No
Set Button2 to (Last created dialogue button)

Here's how to make it work when you click on a button.

Code:
Events - Dialog - A dialog button is clicked for DialgoueVariable

Conditions - (Clicked Dialogue Button) Equal to Button1

Actions - Game - Display to (All players) for 30.00 seconds the text: Yes

Code:
Events - Dialog - A dialog button is clicked for DialgoueVariable

Conditions - (Clicked Dialogue Button) Equal to Button2

Actions - Game - Display to (All players) for 30.00 seconds the text: No