I have created a dialog button that I want it do act like a command button when you for example build a building. When i click on it i want my "hero" to act just like if i did click on on the "build pylon", meaning that i want the green transparent building to get locked to my mouse and the building grid is shown and so on.
Is this possible to do with triggers with a custom dialog button?
Lets just say my hero is a normal probe now with all abilities and requirements needed.
I have created a dialog button that I want it do act like a command button when you for example build a building. When i click on it i want my "hero" to act just like if i did click on on the "build pylon", meaning that i want the green transparent building to get locked to my mouse and the building grid is shown and so on.
Is this possible to do with triggers with a custom dialog button?
Lets just say my hero is a normal probe now with all abilities and requirements needed.
@Sherlia: Go
nope
Any way to order a unit to construct a building where i click then ?
There's a mouse click event, and a issue order action. You would specify the location of the order as the mouse position x and y.