In this series I cover the basics of creating a dialog, the dialog I create is based on a request I got on my profile. It's a dialog for character selection for two different player teams, each team should only be able to select each character once.
I also cover conditions and functions in the trigger editor.
Tnx for this tutorial! Based on it i try to creat my dialogs, but use list instead of buttons, and its not run properly. What i want right now - when you click on list item description of unit should apear. Tnx!
Update: ok so i find why list items didnt react - it was different even option - change selection instead of cliking. but now ive got another problem, looks like all list items have 0 index. no matter on what items i pressed ive got marine discription. Help if any one can...
Update2:Ok so i manage to clear almost all problems. There is one left, hovewer. Seems like function that check what button was pressed dont work for list items. This function created in part 3 if i remember right. ts just check every button in array, if it was pressed button. Not working with list, this function always return one. Ill post when ill figure out how to check list items.
The thing is that the current list implementation in sc2 is horribly rudimentary and weird. Sadly I can't help you much with it as I shun the lists as much as possible, I would rather just make my own list by using buttons and not using a graphic for them.
Finally, Ive been looking for this my entire life.... The dialogue map is so useful, i just reverse engineered it into the map i needed the dialogue for....
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
In this series I cover the basics of creating a dialog, the dialog I create is based on a request I got on my profile. It's a dialog for character selection for two different player teams, each team should only be able to select each character once.
I also cover conditions and functions in the trigger editor.
The map I created can be downloaded here: http://dl.dropbox.com/u/1586398/Tutorials/UI/UserInterface-Tutorial.SC2Map
You can find even more video tutorials if you check out my youtube channel
Tnx for this tutorial! Based on it i try to creat my dialogs, but use list instead of buttons, and its not run properly. What i want right now - when you click on list item description of unit should apear. Tnx!
Update: ok so i find why list items didnt react - it was different even option - change selection instead of cliking. but now ive got another problem, looks like all list items have 0 index. no matter on what items i pressed ive got marine discription. Help if any one can...
Update2:Ok so i manage to clear almost all problems. There is one left, hovewer. Seems like function that check what button was pressed dont work for list items. This function created in part 3 if i remember right. ts just check every button in array, if it was pressed button. Not working with list, this function always return one. Ill post when ill figure out how to check list items.
@Flirer: Go
The thing is that the current list implementation in sc2 is horribly rudimentary and weird. Sadly I can't help you much with it as I shun the lists as much as possible, I would rather just make my own list by using buttons and not using a graphic for them.
ok, thats really sad :( bad tnx any way!
Finally, Ive been looking for this my entire life.... The dialogue map is so useful, i just reverse engineered it into the map i needed the dialogue for....