• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Help - how do I find the "units matching condition" function?

Status
Not open for further replies.
Level 10
Joined
Mar 9, 2008
Messages
669
It's not a "function". It's a condition (it's even in the name of "units matching condition"), and, as such, in any Action that has a condition part attached to it (given the action pertains to a unit!) it'll be there. It's also an option under just the plain old "Conditions" part of the Trigger.

Now, if you want to do something like: IF "Units match condition", "picked unit matches condition", etc, you want to choose the "if", "if/then/else" or "if/then/else (multiple functions)" from the drop-down menu.

If you meant something else, I'm terribly sorry. =P
 
Level 4
Joined
Jan 6, 2009
Messages
100
@ Sabertooth: What I meant was can I find it under, say, Boolean or Integer Conditions? Or something else all together?

@ Bribe: But JASS is so scary... D:
 
I used to think that, too, and then I learned how much easier and more creative it is to work with it and now it's actually GUI that intimidates me, all those nasty colours and dialogs that you have to figure out and work around :O

I actually know more about JASS than I do GUI, and that's an understatement, even though I've only been working with JASS for three months as opposed to 5-6 months with the GUI.
 
Level 9
Joined
Oct 11, 2009
Messages
477
Unit Matching Condition can be found in, Real, Unit, Unit-type, Integer, Boolean comparisons.

For the Integer and Real comparisons is the comparison of numbers relating to a unit, for example, facing angle, custom value, bla...bla... and so on and so forth. In the Unit and Unit-type comparisons, it detects or checks who is the unit that triggers an event. Mostly are used are "Triggering unit", "Casting Unit" and more, the only difference of Unit and Unit-type is that Unit-type is broader than Unit. For the Boolean comparison which is the most important, it checks a status of a Unit like if it is Alive, Dead, has a specifice buff, if it is a hero, structure, etc.

Hope you understand!:grin:
 
Status
Not open for further replies.
Top