Will you troubleshoot a trigger for me?

snowyowl

New Member
Reaction score
0
Code:
Event
Unit - Any Unit Enters (Region(Any Region))



Actions
UI - Display "Test" for (All players) to Chat area
General - If (Conditions) then do (Actions) else do (Actions)
If

And

Conditions
Locations[(Owner of (Triggering unit))] >= 0

Or

Conditions
(Triggering region) == E/L Beacon of Thalior
(Triggering region) == E/L Beacon of Thalior2
(Triggering region) == E/L Beacon of Thalior3

Then
UI - Display "Entering Beacon of Thalior" for (Player group((Owner of (Triggering unit))) to Chat area
Variable - Set Locations[(Owner of (Triggering unit))] = 0
General - Wait 3.0 Game Time seconds



The game won't even show my Test message so it appears that the Event is bugged, but how can that be with such a simple event? Does it consider Entire Map as Any Region so that no unit ever enters? But shouldn't entering any of the regions given in the Or condition override such a thing?
 

s3rius

Linux is only free if your time is worthless.
Reaction score
130
Unit - Any Unit Enters (Region(Any Region))

You can't do that. It's a bit misleading, but this basically means "Any Unit enters <Unspecified Region>". And <Unspecified Region> is not specified :)

You have to add one event for every region:

Event
Unit - Any Unit Enters E/L Beacon of Thalior
Unit - Any Unit Enters E/L Beacon of Thalior2
Unit - Any Unit Enters E/L Beacon of Thalior3
 

snowyowl

New Member
Reaction score
0
That's a bummer, cause I have 20+ more of those E/L regions and I was trying to make it all into one pretty trigger. ;)
 

s3rius

Linux is only free if your time is worthless.
Reaction score
130
By all means, do so! You can add several events to the trigger and it'll work just like you wanted to.
 
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