Dialog Help

wilze

Active Member
Reaction score
3
How To Crate A Dialog+Buttons?

(acualy im makeing so the player can chose witch stats to give to their hero when it gains a lvl.
 

Drunken_God

Hopes to get back into Mapmaking with SC2 :)
Reaction score
106
make 2 variables
one as the dialog himself
and one with array and as dialogbutton
and then do the action you want e.g.
Code:
Change the title of (dialogVariable) to Stats
Create dialog button for (dialogVariable) labelled Agi
Set (dialogbuttonVariable[1]) = Last created dialog button
......
Show (dialogVariable) for all players
and then another trigger
Code:
E: Adialog button is clicked ofr (dialogvariable)
A: if clicked dialog button equal to dialogbuttonvariable[1] then do blah
if clicked dialog button equal to dialogbuttonvariable[2] then do bluh
and so on
you understand
 

wilze

Active Member
Reaction score
3
plz if there is a way just do regular triggers no jass plz dont know that stuff XD:nuts:

ohh sry that was triggers

tip for u: copy the trigger as text and postit in a
PHP:
[PHP] code XD
 

swe_suffer

New Member
Reaction score
20
that wasn just pre-code. It isn't the exact code, just a guidline. Make it GUI, or JASS. The choise is yours

better is to wrap "[COD.E][/CODE]" tags around
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top