This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Im assumed this would work so Im not sure why it doesnt. I just need it so when player 1, or P2, or P3 enters the region it creates units at another region. So can anyone tell me why this doesnt work, or how to set it up another way.
@booogers: Go
Treat an OR within a condition as a folder, in which a bunch of conditions are placed in, and if any one of them return true, the actions are fired.
So;
TestTrigger Events Local Variables Conditions Or Conditions Condition 1 Condition 2 Condition 3 Actions
If condition 1, 2 or 3 return true, the actions are fired.
Your current contition's logic actually says
Conditions: (unit owner = 1) and (((unit owner = 2) and (unit owner = 3)))
should read as follows: Conditions: Or: Unit owner = 3 Unit owner = 2 Unit owner = 1
On a side note you could just check to see if the triggering player is in the Player Group that is allowed to use this region
Event -any unit enters (region) Conditions - Triggering player belongs to (Player Group)
Actons - Do stuff for triggering player
Note: Ive found that when a unit triggers an event, you can immediately use the triggering player
Thx for the info guys, it works now
Im assumed this would work so Im not sure why it doesnt. I just need it so when player 1, or P2, or P3 enters the region it creates units at another region. So can anyone tell me why this doesnt work, or how to set it up another way.
@booogers: Go
Treat an OR within a condition as a folder, in which a bunch of conditions are placed in, and if any one of them return true, the actions are fired.
So;
If condition 1, 2 or 3 return true, the actions are fired.
@booogers: Go
Your current contition's logic actually says
Conditions:
(unit owner = 1) and (((unit owner = 2) and (unit owner = 3)))
should read as follows:
Conditions:
Or:
Unit owner = 3
Unit owner = 2
Unit owner = 1
On a side note you could just check to see if the triggering player is in the Player Group that is allowed to use this region
Event -any unit enters (region)
Conditions - Triggering player belongs to (Player Group)
Actons - Do stuff for triggering player
Note: Ive found that when a unit triggers an event, you can immediately use the triggering player
Thx for the info guys, it works now