• 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.

[Trigger] Unit begins construction

Status
Not open for further replies.
Level 6
Joined
Jul 26, 2004
Messages
210
The trigger below does not seem to work. I simply cant figure out why, it looks so simple right? The trigger will work if the triggering unit is set to a specific unit on the map, which i dont want, must be the triggering unit.

Untitled Trigger 002
Events
Unit - A unit Begins construction
Conditions
Actions
Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) - 10.00)


And its minus 10 just so you know.

Forgot to say what exactly wasnt working about the trigger. The trigger is suppose to, id think, subtract 10 mana from a unit that contructs a building.
 
Last edited:
Level 6
Joined
Jul 26, 2004
Messages
210
Well if anyone cares to know i figured out a way to work around this. I just made a new trigger.

Scout Tower
Events
Unit - A unit Is issued an order targeting a point
Conditions
(Unit-type of (Triggering unit)) Equal to Peasant
(Issued order) Equal to (Order(scouttower))
Actions
Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) - 10.00)

Works out Great! =D
 
Status
Not open for further replies.
Top