Hey, anyone got a link to a good tutorial or can explain how to create a dialog which makes me able to choose which Hero i want to start off with? i got one running now that is working perfectly, but i want one where the units aren't on the map when u choose them i just want a simple dialog with pictures and info.
//Create 2 global arrays for ex.UnitTypes[5] and MyDialogItems[5], also 1 MyDialog Variable//Build your dialog, save it to MyDialog, save created buttons to MyDialogItems[] and assign corresponding unit types to UnitTypes[] somewhere//How? in short. Create Button with text "Select Hero1"; Set MyDialogItems[1] = last created dialog item, Set UnitTypes[1] = Hero1Event:Playerclicksdialogitemlocalvariables:inti=0Conditions:Dialogcontaining(UsedDialogItem)==MyDialogActions:HideMyDialogfor(TriggeringPlayer)Foreachinteger'i'from1to5if(UsedDialogItem==MyDialogItems[i])Create1UnitTypes[i]forplayer(TriggeringPlayer)somewhereBreak()
Above link shows most of the stuff. Just scroll down to User Interface for Dialog hero selection.
There's no "Dialog hero selection" and if you mean "Hero Selector" by Onetwo, he's showing more hybrid selector with camera, units on map etc. Much more knowledge to learn for beginners
Hey, anyone got a link to a good tutorial or can explain how to create a dialog which makes me able to choose which Hero i want to start off with? i got one running now that is working perfectly, but i want one where the units aren't on the map when u choose them i just want a simple dialog with pictures and info.
don't know of any but it's fairly simple.
http://www.sc2mapster.com/wiki/galaxy/tutorials/
Above link shows most of the stuff. Just scroll down to User Interface for Dialog hero selection.
There's no "Dialog hero selection" and if you mean "Hero Selector" by Onetwo, he's showing more hybrid selector with camera, units on map etc. Much more knowledge to learn for beginners
Perfect, thanks to the both of you for your fast responses :)
@Nerfpl: Go
Thats the one im using atm, just looking for a more simple one, dont want trash units standing on my map. :)
Try out this one: http://www.thehelper.net/forums/showthread.php/166817-Triggers-A-Beginner-s-Guide-to-Dialogs
@Siretu: Go
Exactly what im looking for, nice tutorial :D