So, I need to make it so when a player presses a button on the command card, a trigger runs. I need this to work specific for four players, cause it will be different for each. I'm making it so when a player presses a button, it spawns 5 units at a point. The point and units will be different for each player. Thanks.
I created a new button and my hero have that button now. The ability doesn't exist but i created a trigger that will give player mineral for their energy used.
however i can't input the button correctly cause i really need to have an ability command ?
is there a way to bypass this or a thrick i could use so the button appear and do nothing, except the in the trigger with event button pressed.
So, I need to make it so when a player presses a button on the command card, a trigger runs. I need this to work specific for four players, cause it will be different for each. I'm making it so when a player presses a button, it spawns 5 units at a point. The point and units will be different for each player. Thanks.
@DoubleElite: Go
A simple event.
i have about the same problem.
I created a new button and my hero have that button now. The ability doesn't exist but i created a trigger that will give player mineral for their energy used. however i can't input the button correctly cause i really need to have an ability command ?
is there a way to bypass this or a thrick i could use so the button appear and do nothing, except the in the trigger with event button pressed.
Just make an effect-instant ability that dose nothing......
grenegg is right. Make an ability that does nothing, give it to the unit, and fire the trigger when the ability is ordered.
It's either this, or you design a custom UI... I'd say go with the ability method.