I am trying to create a trigger that involves a player clicking on a barracks. However the map is basically a ladder map so the barracks does not yet exist. (They would build it themselves).
Events
"Unit Selection - Any Unit is clicked by Player Any Player"
The problem I'm having is that I cannot see the Barracks when I try to specify what "Any Unit" is. I also cannot seem to specify a player under "Any Player."
I've created a global variable:
Unit Type
X= Initial Value: Barracks <- selected that under "Value"
Yet it does not appear in the variable list when I click "Any Unit"
If anyone could explain to me how this should be done or link me to a tutorial that would be a huge help. I've read through most of the variable tutorials but they don't seem to explain what I'm looking for.
You may have not noticed. You cannot use any variables in the events. Just leave event as you made it and add conditions, checking if triggering player ==your desired player, and unit type of triggering unit == barracks.
Hello,
I am trying to create a trigger that involves a player clicking on a barracks. However the map is basically a ladder map so the barracks does not yet exist. (They would build it themselves).
The problem I'm having is that I cannot see the Barracks when I try to specify what "Any Unit" is. I also cannot seem to specify a player under "Any Player."
I've created a global variable:
Yet it does not appear in the variable list when I click "Any Unit"
If anyone could explain to me how this should be done or link me to a tutorial that would be a huge help. I've read through most of the variable tutorials but they don't seem to explain what I'm looking for.
You may have not noticed. You cannot use any variables in the events. Just leave event as you made it and add conditions, checking if triggering player ==your desired player, and unit type of triggering unit == barracks.
Hey, so I've set it up to now be
The above trigger works when selecting a barracks whether it be by clicking or by control group. However, it does not work if I change it from
I only want this trigger to activate when the barracks is selected by clicking, not when it is selected by control group Any advice?