HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Dialog Menu Tutorial

08-15-2002, 03:12 PM#1
Draco
I have created a very basic dialog menu for people who are not exactly sure what dialog menus are. This will help people learn how to make their own maps using dialog triggers.

Download the map here
08-18-2002, 10:38 PM#2
Ari
Thanks for the map - I learned a lot from it.

One question for you though. After experimenting with your map, I found that it was essential that the title of a dialog be assigned in the same trigger that the dialog itself is displayed. If this is not done, than the dialog will not display even though the game pauses (the dialog is invisible).

This is *extremely* counterintuitive from my point of view, because the dialog and its component buttons *can* be loaded in an earlier (occuring) trigger, such as at game initialization. You might want to add something to that effect in the tutorial to warn the people learning about dialogs.

Can you confirm this "feature" of WE? I'd love to hear your thoughts.
08-18-2002, 10:50 PM#3
Draco
Hmmm.. I'll have to try that....
08-18-2002, 11:11 PM#4
weaaddar
avoid using map initilization like the plague. ALot of actions "break" using that.
08-18-2002, 11:13 PM#5
Ari
BTW, don't take that as criticism of the map, which I thought was great, but rather of WE's handling of what should be a simple, intuitive task.
08-19-2002, 12:26 AM#6
Draco
I agree, Map Initialization is kinda buggy. I did try to change the title of dialogs with map initialization, but it doesn't work. It works fine with time elapsed, so if you want to change it right away, just use time elapsed is 0 or 1 second. I set my variables and sometimes quests using map initialization and they work fine. Oh well.
10-04-2003, 05:26 AM#7
Silversuns
I cant download the tutorial cos its a invalid post.
can you remake the link cos i really need this dialog tutorial cos when i make dialog box only one of my 6 button appear and i dont know why ?
can you help me a bit?
Do you know how to put a vote system on the button you click ...
like in the Enfo's team defence ... you start and all players choose the difficulty and it appear in the leaderboard ...
i would like to do that .
10-04-2003, 05:39 AM#8
Draco
Maybe becuase you're on a thread that's over a year old? Where the heck did you get this?

The order you must do it in is...

- Set dialog title
- Add buttons and assign a dialog button variable to each one right after you create it
- show dialog

- - -

After that, you use the event of a player clicking a dialog and then conditions to check which button was clicked.

As for the vote system, I'm not sure how you'd want it, but I'd have an integer and everytime a person clicked a button it would go +1 or -1 to it's current value. Then, when everyone votes, do an if/then/else to see what the number is (like if it's greater than 5, run triggers for hard difficulty etc.)
10-04-2003, 06:02 AM#9
Supra God CrK
lmao...omg that was funny. a thread over a year old... o this is the first time i have ever seen draco stumped. lol. oh god i wish i coulda seen ur face draco that is just too funny.... lol where the heck did u get this...lmao
10-04-2003, 06:29 AM#10
Silversuns
sorry if i going on a old thread but i didnt see if it was old when someone make me a link on it.

I dont understand how you process to do it?
I got 4 triggers ... Show hide dialog, change title dialog, create dialog and clear dialog.

how can i make 6 button appears ???
cos it didnt work and i dunno what i made wrong ...
(what is the difference between dialog and dialog button variable)
10-04-2003, 06:34 AM#11
Draco
Dialog variables are for the entire menu, and buttons are for each button.

I'm making a new map, so hold on if you want a tutorial.

While you're waiting, you could beta test a map for me (in my sig)
10-04-2003, 07:13 AM#12
Silversuns
k I,m waiting and trying to make it work in my map ...
but without success ...
I'm waiting for you and i can try help you with testing what ever you want.
thx to help me.
10-04-2003, 07:33 AM#13
Draco
Ok, it's buggy, but this should give you some idea on how to make dialogs...
10-04-2003, 09:37 AM#14
Silversuns
Thx Draco thats really nice.
I triied your map in same time and its pretty cool.

can you tell me if its possible to make unlimited books of stats or a hero tower (it cant move but can get level) ...
or can you tell me about some uncommun stuff lol

I really like the tutorial you make ... thx a lot.
10-04-2003, 10:28 AM#15
Silversuns
Yea it work well.
Thx a lot now one more trigger done lol
:ggani: :ggani: :ggani: :ggani: :ggani: :ggani:

I really like this campaigns creation site.
but so much other trigger to do but the most hard part is done I think... I hope lol :D :D