• 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] Condition Type

Status
Not open for further replies.
Level 4
Joined
Dec 30, 2006
Messages
84
Here is the thing for some time now I have a trigger written down, but I just cant figure it out what kind of Comparison is this, I mean I just can't do it in WE:

Conditions:
(HeroVar is equal to No Unit) equal to false

HeroVar is variable of type-unit-with initial value of No unit.


I would be very thankful for the one person that solves this mystery for
me:coolgrunt: :coolgrunt:

Yeah and Everyone pls laugh at that :D
 
Last edited:
Level 4
Joined
Dec 30, 2006
Messages
84
Eureka !! xD I found the solution...in WEU.. :D in very short time "2 hours"... Moderators I am sorry for spamming shits like this here on the Hive :S

Anyway it was a valuable lesson, I found out a few interesting things :))))
 
Level 21
Joined
Jan 5, 2005
Messages
3,515
well actually something i realised yesterday is that this condition is very ineficient. it says "(HeroVar is equal to No Unit) equal to false" which actually means, if herovar has a unit attached, because it is a double negative. this could be simplified into this:

HeroVar Not equal to No unit-type

which is done in the unit type condition. i dont know if it helps you now but it is a better way of doing it while still using the double negative.
 
Status
Not open for further replies.
Top