How can I make this:
A window with icons for some unit. When you click on an icon you get that unit spawned for you.
Please help.
If it is easier for you send me an example map.
I currently did this myself, if your a patient one you can just wait till my map is released. Or you can just take my triggers and modify them to fit your needs. First you have to create some variables though. In my triggers the variables all start with btn_ except for the window name which is Dialog Unit Builder Bar.
Create variables of type Dialog Item for every button you need.
Create one variable of type Dialog for the window.
Dialog-CreateaButtonforDialogUnitBuilderBarwiththedimensions(76,76)anchoredtoTopLeftwithanoffsetof(40,36)settingthetooltipto"Marine Damage: 6 Your basic fight..."withbuttontext""andthehoverimagesetto""Variable-Setbtn_Marine=(Lastcreateddialogitem)Dialog-CreateanImageforDialogUnitBuilderBarwiththedimensions(77,77)anchoredtoTopLeftwithanoffsetof(40,36)settingthetooltipto""usingtheimageAssets\Textures\btn-unit-terran-marine.ddsasaNormaltypewithtiledsettotruetintcolorWhiteandblendmodeNormal
Rollback Post to RevisionRollBack
The Team - TnTProductions
TnTProductions latest Project - Docking Bay 13
TnTProductions Epic RPG in the making - Psionics: Chaos Rising
Check out our website on wixx! http://bulletbutter.wix.com/tntproductions
To post a comment, please login or register a new account.
Can you explain a little further? I'm lost as to what you want.
@Paranoiks: Go
Check out this post with video and file. He has a window that lets him choose objects...very similar to what you want.
http://forums.battle.net/thread.html?topicId=24570037999&sid=5000
I currently did this myself, if your a patient one you can just wait till my map is released. Or you can just take my triggers and modify them to fit your needs. First you have to create some variables though. In my triggers the variables all start with btn_ except for the window name which is Dialog Unit Builder Bar.
For the Window.
For the buttons.