What do you want to know about conditions?
Basically, it's a field, where you define the conditions
to be met.
e.g:
create a trigger,
west/present/once
- case1;
condition: this
activation: hint "trigger has been activated"
:note - "this" means, the condition field is false, as long as
no west unit entered the trigger area.
Once a west unit enters the trigger's area, a hint message
will appear, showing you: TRIGGER HAS BEEN ACTIVATED
- case2;
condition: true
:note - "true" means, that the condtition of this trigger is already true, so no west units has to enter it.
This means: the hint messages appears, as soon as the mission starts.
case3;
any other condition, which can be altered by any influence.
e.g:
condition: "alive _x" count (units groupx) == 0
this condition would become true, once all units of groupx
are down
or;
condition: kingishere
this condition would become true, once you say somewhere
else (trigger, waypoint, script): kingishere = true
or;
condition: a == 3
this condition would become true, once the variable "a" has
a value of 3
:note - numeric variables need to be initialized at the start
of the mission (init.sqs/init-field of a unit/init trigger)
there are more ways, of altering a numeric variable so
that it becomes a certain value;
a = 3
:would directly alter variable "a" to be "3"
a = a + 1
:let's say you initialised variable "a" to start with a value of 0
a = 0, and you say: a = a + 1
Then the value of "a" would be "1"
If you repeat this twice times, the value of "a" would reach "3"
case4;
condition: cadetmode
or
condition: !cadetmode
The first condition would become active, if the mission runs
in cadetmode, while the second one expects "not cadetmode".
OK, there are many more ways to use the condition fields, but
i think i could uncover the basics for you now.
Look into the editor's depot at this site, and you may find some unofficial comrefs or tutorials, which might give you
even more info about that.
:edit
uuh yeah, there's one more thing, worth telling you here.
case5;
condition: this AND kingishere
this condition would be met, once "this" (in our case: west/present) AND kingishere became true.
or:
condition: this OR kingishere
this condition would be met, once "this" (west/present)
OR kingishere became true.
~S~ CD