2 questions

bajaist

Member
Reaction score
4
How can be determined on witch side door will open?

And is there a way to make event A unit enter region ,but not specific one, and then with Condition to determine what region it is?
 

NeuroToxin

New Member
Reaction score
46
Under Generic Unit Event, Theres one thats, "A Unit enters a region" and the condition,
Trigger:
  • (Region 000 <gen> contains (Position of (Triggering unit))) Equal to True

I think thats it, Its under Boolean comparison, I havent used regions in a long time.
 

bajaist

Member
Reaction score
4
I couldnt find "A Unit enters a region", but you were helpful in other way, thanks +rep :)
 

bajaist

Member
Reaction score
4
I thougth i couldnt find "A Unit enters a region" under Generic Unit Event, i know that there is Unit Event A Unit Enters Region, but there u must specify region.
 

NeuroToxin

New Member
Reaction score
46
And isnt specifying the correct region what you want? You can use multiple events of that, then do a comparison.
 

bajaist

Member
Reaction score
4
Sry for not replying quickly.
Yes i do want specifying region, something like:

Event
A Unit Enter ANY Region
Action
Loop 1 to ....
If Then Else
Condition
Region (Integer A) contains (Position of (Triggering unit))) Equal to True
 

NeuroToxin

New Member
Reaction score
46
So make another trigger, put ALL your regions into an array, starting at 0 up to a number. This should be on map initialization. Then loop from 0 to the max number of regions, and add an event to the other trigger that a unit enters Region[Integer A] which will correctly be like having a unit enters any region.
 
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