I want to know how can I make people being able to choose between 2 teams on the start of the game, and how to make the heroes they choose spawn on that team's starting locations. Can someone tell me :P?
The search function gave me totally weird results T_T.
I already have the hero selection, but I would like to know how to render buttons unclickable when a hero has been selected on the same team.
Do you know how to create dialogs and use dialog items?
I'm not sure if this is the best way to do it, but i would try it like this:
Basically you put the players in playergroups based on the choosen team in the dialog.
and then something like this to execute on gamestart..
The event should be your event to start the actual game, and the created unit your choosen hero.
Team1_spawn and Team2_spawn would be the points marking your spawnpoints.
Rendering buttons unclickable is easy, if someone uses that button just tell it to disable the used dialog item.
Dialog-Disable(yourDialogItem)for(Allplayers)
Again, im not sure if that is what your looking for or if there is an way to do it easier, but this is what i did in my herobased map.
Do you know how to create dialogs and use dialog items?
I'm not sure if this is the best way to do it, but i would try it like this:
Basically you put the players in playergroups based on the choosen team in the dialog.
and then something like this to execute on gamestart..
The event should be your event to start the actual game, and the created unit your choosen hero.
Team1_spawn and Team2_spawn would be the points marking your spawnpoints.
Rendering buttons unclickable is easy, if someone uses that button just tell it to disable the used dialog item.
Dialog-Disable(yourDialogItem)for(Allplayers)
Again, im not sure if that is what your looking for or if there is an way to do it easier, but this is what i did in my herobased map.
I do know how to create a dialog and dialog items, and thanks, that is what I want to know =).
One question, are "Team1_Spawn" and "Team2_Spawn" points or regions?
Thanks. I'm stuck on something else now though. I can't seem to figure out how to make buttons for heroes and the team selection buttons actually do something. I can't seem to find any option in the events that offers me more than "Last Creaded Dialog Item", "Last Used DIalog item" or something like that. I see "Screen Buttons" but those don't seem to refer to my buttons. I'm stumped.
If you follow my DOTA tutorial (in my signature) it explains how to make a team selection and hero section dialog, and make the selected hero type spawn at the correct team base. (It's part 3 )
You have to set the dialog items into variables.
Create a new variable of the type 'dialog item' and after you created a button you make an action like 'set YourVariable = last created dialog item'.
Now you can access that dialog item in other triggers with things like 'used dialog item'.
But better have a look at zelda´s tutorial.
Helped me a lot on several issues i ran into while creating my map, you will definitly learn from it.
If you follow my DOTA tutorial (in my signature) it explains how to make a team selection and hero section dialog, and make the selected hero type spawn at the correct team base. (It's part 3 )
I'm sorry but the tutorial is of no use to me because you are refering to so much things that you previously wrote or are from another tutorial, which I didn't need :S.
You have to set the dialog items into variables.
Create a new variable of the type 'dialog item' and after you created a button you make an action like 'set YourVariable = last created dialog item'.
Now you can access that dialog item in other triggers with things like 'used dialog item'.
But better have a look at zelda´s tutorial.
Helped me a lot on several issues i ran into while creating my map, you will definitly learn from it.
Um... I have 6 buttonse, I don't think all of them are counted as "last created dialog items" O_O.
I want to know how can I make people being able to choose between 2 teams on the start of the game, and how to make the heroes they choose spawn on that team's starting locations. Can someone tell me :P?
The search function gave me totally weird results T_T.
I already have the hero selection, but I would like to know how to render buttons unclickable when a hero has been selected on the same team.
Do you know how to create dialogs and use dialog items?
I'm not sure if this is the best way to do it, but i would try it like this:
Basically you put the players in playergroups based on the choosen team in the dialog.
and then something like this to execute on gamestart..
The event should be your event to start the actual game, and the created unit your choosen hero.
Team1_spawn and Team2_spawn would be the points marking your spawnpoints.
Rendering buttons unclickable is easy, if someone uses that button just tell it to disable the used dialog item.
Again, im not sure if that is what your looking for or if there is an way to do it easier, but this is what i did in my herobased map.
I do know how to create a dialog and dialog items, and thanks, that is what I want to know =).
One question, are "Team1_Spawn" and "Team2_Spawn" points or regions?
And how do you create player groups?
You can choose to use regions or points but points make more sense imo.
In my example they are points.
Playergroups are variables.
Just create a new variable as type 'playergroup' and use the trigger action 'add player to player group'.
In this case it could look like:
Thanks. I'm stuck on something else now though. I can't seem to figure out how to make buttons for heroes and the team selection buttons actually do something. I can't seem to find any option in the events that offers me more than "Last Creaded Dialog Item", "Last Used DIalog item" or something like that. I see "Screen Buttons" but those don't seem to refer to my buttons. I'm stumped.
If you follow my DOTA tutorial (in my signature) it explains how to make a team selection and hero section dialog, and make the selected hero type spawn at the correct team base. (It's part 3 )
@Starscr3am: Go
You have to set the dialog items into variables.
Create a new variable of the type 'dialog item' and after you created a button you make an action like 'set YourVariable = last created dialog item'.
Now you can access that dialog item in other triggers with things like 'used dialog item'.
But better have a look at zelda´s tutorial.
Helped me a lot on several issues i ran into while creating my map, you will definitly learn from it.
I'm sorry but the tutorial is of no use to me because you are refering to so much things that you previously wrote or are from another tutorial, which I didn't need :S.
Um... I have 6 buttonse, I don't think all of them are counted as "last created dialog items" O_O.
EDIT: Nevermind the 2nd part.
Looks like you got it now.
Anyways, here a little picture about how that assigning works.