Please INTERPRET this for me (VERY EASY)

marvey323

Member
Reaction score
1
Trigger:
  • Spitting Spider Area 4
    • Events
      • Unit - A unit leaves Spitting Spider Area 4 <gen>
    • Conditions
      • ((Triggering unit) is in EngagedGroup) Equal to False
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Triggering unit)) Equal to Spitting Spider
          • (Unit-type of (Triggering unit)) Equal to Dark Troll Trapper
    • Actions
      • Set CreepReturnArea = (Random point in Spitting Spider Area 4 <gen>)
      • Unit - Order (Triggering unit) to Move To CreepReturnArea
      • Custom script: call RemoveLocation(udg_CreepReturnArea)


We're talking about the Condition clause:
Is the above condition interpreted as the following : ?

1- Triggering unit is in EngagedGroup Equal to False

AND

Either 1) Unit type of triggering unit is equal to spitting spider
or 2) Unit type of triggering unit is equal to dark troll trapper


Did I get it right?
 

Jedimindtrixxx

┻━┻ ︵ ¯\(ツ)/¯ ︵ ┻━┻
Reaction score
168
no, if im not mistake what you want is
-Triggering unit is in engagedgroup equal to false and unit type of triggering unit equal to spitting spider or Triggering unit is in engagedgroup equal to false and unit type of triggering unit equal to dark troll trapper

what u currently have is:
1- Triggering unit is in EngagedGroup Equal to False

OR

Either 1) Unit type of triggering unit is equal to spitting spider
or 2) Unit type of triggering unit is equal to dark troll trapper
 

Don

Rise with the Fallens!
Reaction score
52
eeeh.. yeah, as what you wrote under the screenshot is the SAME thing as what is written in the screenshot!
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> Did I get it right?

Yes.
Don't know if that's what you're looking for, but, yes, those conditions work as described.

> what you currently have is ...

No, his description was correct.

> what you wrote under the screenshot ...

What screenshot?
 

Chewbalka

New Member
Reaction score
14
when its multiple or conditions i put all conditions in it.
so


Or - Any (Conditions) are true
Conditions
((Triggering unit) is in EngagedGroup) Equal to False
(Unit-type of (Triggering unit)) Equal to Spitting Spider
(Unit-type of (Triggering unit)) Equal to Dark Troll Trapper
 

marvey323

Member
Reaction score
1
Actually it needs to be exactly the way I put it. I cant put everything under 'OR' because I need the first statement to be true and either one of the other two to be true.
 
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