• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Command Button That Calls A Trigger To Run

Status
Not open for further replies.
Level 2
Joined
Nov 9, 2013
Messages
10
Is it possible to create an ability that - when its command card button is pressed - will make a trigger run?

For example: I have created triggers that change terrain type to simulate road construction.

All I need to do now is create a button on the command card that will allow one of my custom "road construction units" to trigger the terrain changing trigger.

Is this possible? I guess I need to create a new ability for the custom unit. But I don't know how to link that new ability to my terrain changing trigger.
 
OK. I think I get it. Now all I need is a button on the unit's command card to cast the ability.

I know that pre-loaded abilities come with their own command card buttons. How can I create a command button for my custom ability? Or should I just select a pre-loaded ability and simply change some stats, and just use the pre-loaded ability's command button?
 
Awesome, thanks.

PS... I guess there's no way to create our own icons for custom command buttons using MS Paint or other drawing program and then importing it into our maps, is there?
 
Status
Not open for further replies.
Back
Top