HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Hero Selection through Dialog

07-25-2004, 08:43 PM#1
Mr Bubbles
I was just wondering if it is possible to select your hero through a dialog, and if so, how do you do it?
07-25-2004, 09:42 PM#2
Anitarf
Essentially, it's a lot of triggerwork to create all the dialogue buttons, store them to the variables as you create them, and create heroes when the buttons are clicked. Well, not that much more work than with a classic wisp-to-circle-of-power selection system, that is, if you can get the triggering player.

Someone else may have to clarify this, as I do not have any practical experience with dialogue buttons, but untill recently, I noticed in many dialogue-related threads, that you needed to make a seperate dialogue with seperate buttons for every player, if you wanted to know which player pressed which button. However, recently I saw a post that claimed that "event response - triggering player" works with a "a player presses a dialogue button" event. If this is true, then making a dialogue hero selection is no big deal, otherwise, it's still not such a big deal, but a bit longer triggers are required.
07-25-2004, 09:47 PM#3
Mr Bubbles
I see... And I should also include that this is for a one player map, if that makes any difference, wich it probably does. I'll play around with it.
07-25-2004, 10:38 PM#4
Milkman
If it's for a singeplayer map it's piece of cake since you wont have to detect anything! You'll just have to create variables for each button and fire away!