[Trigger] Job-choosing system

Status
Not open for further replies.
Level 15
Joined
Dec 12, 2006
Messages
1,661
I'm making a map that let's you choose a profession, but I have no idea how to make it so that the players could choose a profession from a dialogue box only if someone else didn't choose that job. Any suggestions/solutions? Oh, and when you give them, be sure to tell me what exactly any variables are (I.E. integer, boolean, array, array size, initial value, etc.).
 
Assuming you know HOW to make a dialogue box:
-Make a boolean variable for each hero (or an Array "HeroPicked[number of selectable heroes]")
-Make it so when a hero is picked, it sets the HeroPicked corresponding with said unit to true.
-Make it when they are selecting their class, if they select one and the corresponding hero has it's HeroPicked = True, you bring up the box again with an error message.
~ ~ ~ ~ ~ ~ ~
You can also remove the dialogue buttons for the hero, but that's a different trigger. This one is less aesthetically pleasing, I guess, but it works.
 
And just assuming you do not know how to create a dialog search for a tutorial.
 
Status
Not open for further replies.
Back
Top