Tutorial All Conditions (In-Progress)

tooltiperror

Super Moderator
Reaction score
231
I am working on creating a guide with all GUI conditions and crap. Please, PLEASE, PLEASE post some input in this thread. I will love you forever if you do :]]

Boolean Comparison
The Boolean Comparison is simply a "True or False" type of thing. for example:
Syntax:
Trigger:
  • ((Triggering unit) is A structure) Equal to True

So, this means that the Triggering unit must be a Structure. An easy way to think of Booleans is what you want (or don't want) on the left, then true or false.
Now, the opposite of what we describe here can also be used. The Syntax can be switched to:
Trigger:
  • ((Triggering unit) is A structure) Not Equal to True

So if the Triggering Unit is not a structure, the event will run.

Ability Comparison
Ability comparisons are quite helpful in Dummy Spells and almost all triggered spells need it (I believe.)
Syntax:
Trigger:
  • (Ability being cast) Equal to Animate Dead

If the ability being cast is the one described in the trigger, (In this case "Animate Dead") the events will then run. If not, the trigger will stop.

Buff Comparison

Destructible Comparison (Also Destructible-Type Comparisons)

Dialog Button Comparison

Game Difficulty Comparison

Game Speed Comparison

Hero Skill Comparison

Integer Comparison

Item Comparison (Also Item-Type and Item-Class Comparisons)

Melee AI Comparison

Order Comparison

Player Comparison (Also Player-Color, Player-Controller, and Player Slot Status-Comparison

Race Comparison

Real Comparison

String Comparison

Tech Type Comparison

Terrain Type Comparison

Trigger Comparison

Unit Comparison (Also includes Unit-Type Comparison)

And's and Or's


[/spoiler]
Progress:
  • Added all Condition Types and Spoilers
 

Romek

Super Moderator
Reaction score
963
Each comparison simply compares two values of the given type.
An ability comparisons compares two ability values, a boolean comparison compares two boolean values, and so on.

There's nothing more to say.
 

tooltiperror

Super Moderator
Reaction score
231
Each comparison simply compares two values of the given type.
An ability comparisons compares two ability values, a boolean comparison compares two boolean values, and so on.

There's nothing more to say.

But as I finish this, I plan to give correct Syntax, correct common Condition errors and go into more advanced topics involving conditions and multiple conditions and such.
 

Sim

Forum Administrator
Staff member
Reaction score
534
Rules said:
Only submit complete resources - do not put anything unfinished here. This includes, but isn't limited to half-complete tutorials, WIP spells, "will upload it tomorrow" systems and similar submissions. If you want to promote your unfinished work then there are other forums for that, namely Members' Projects.

:rolleyes:
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top