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

Factory Ability

Status
Not open for further replies.
This what your looking for?
base.gif
Abbility
joinminus.gif
events.gif
Events
line.gif
joinbottom.gif
unit.gif
Unit - A unit Begins channeling an ability
join.gif
cond.gif
Conditions
joinbottomminus.gif
actions.gif
Actions
empty.gif
joinbottomminus.gif
if.gif
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
empty.gif
empty.gif
joinminus.gif
cond.gif
If - Conditions
empty.gif
empty.gif
line.gif
joinbottom.gif
if.gif
(Mana of (Casting unit)) Greater than or equal to 50.00
empty.gif
empty.gif
joinminus.gif
actions.gif
Then - Actions
empty.gif
empty.gif
line.gif
joinbottom.gif
unit.gif
Unit - Set mana of (Casting unit) to ((Percentage mana of (Casting unit)) - 50.00)
empty.gif
empty.gif
joinbottomminus.gif
actions.gif
Else - Actions
empty.gif
empty.gif
empty.gif
joinbottom.gif
unit.gif
Unit - Order (Casting unit) to Stop
 
I was wondering if there is a way to select units from the game instead of the map. I have been looking over the last few days and all I can find is the option to select a unit from the map and, this is all well and good unless I don't have the units at the start of the game.
 
Since, (Triggering unit) is on the top of the list of Event.
The system always refer (Triggering unit) first, before any other, which will performs faster and efficient
We can't pretty much see the differences, but trust me, it IS different.
But we can't use (Triggering unit) as (Killing unit), but we can refer it to (Dying unit) in an Event such as "Unit - Generic Unit Event" -> "A unit Dies"
Basically, in an Event, it has 2 thing, which is A and B
A would be likely to be the (Triggering unit) whereas B serves as (XXX Unit)

Situation A:
  • Unit - A unit Starts the effect of an ability
The initial word which is the "A unit..." refers to (Triggering unit) whereas the connection of this Event would be (Target unit of ability being cast), right ?

Situation B:
  • Unit - A unit Finishes construction
"A unit..." refers to (Triggering unit) whereas the connection of this Event would be (Constructed structure)
We can also use (Constructing structure) as (Triggering unit) but it works faster by using the (Triggering unit)
 
(Casting unit) (Attacked unit) (Dying unit) ... these are just wrappers for (Triggering unit). Why they are not just BJ's is a mystery.

(Triggering unit) is more intuitive in all but one case - "A unit is summoned". You don't know if it should be the summoner or what-have-you. In this case, the summoned unit is the triggering unit.

(Triggering unit) is the first item on the list, fastest to work with.

(Triggering unit) is less buggy - still works after a Wait period.
 
Status
Not open for further replies.
Back
Top