Yeam but Region(Any Region) translates to null and I don't think that's a working input for the event.
Also, when using regions with multiple shapes you can't figure out which shape exactly has been entered without using a bunch of RegionContainsUnit, no?
Using Any Region doesn't make sense to me, considering the editor allows you to choose Entire Playable Area and Entire map. It may just be me, but it makes sense that if you could choose Any Region, those would be included.
@s3rius: Go
this does not work, i know... But it works with multiple shapes (I only used the circle..)
@7MM3: Go
I want all regions you create yourself. Like in the terrain editor. But i guess i have to do the trigger multiple times or just add the "Unit - Any Unit Enters Region 001" and then "Unit - Any Unit Enters Region 002" and so on.
I havent opened GE editor in a while, but if there is a Pick all Regions in playable map area action, then use that, and then Trigger Add Event - A unit enters region (Picked region) upon map initialization
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is it possible to run an action whenever a unit enters any region? Cause it doesn't seem to work:
EnterRegion
Events
Unit - Any Unit Enters (Region(Any Region))
Local Variables
Conditions
Actions
UI - Display (Name of (Unit type of (Triggering unit))) for (All players) to Subtitle area
@ralme360: Go
If it makes you feel better, I just learned UI - Display from you :D
On a more serious note though, I don't see the "Any Region" in my editor. My choices are for x in Unit enters Region(x):
Playable Map Area Entire Map Empty Region Convert Rectangle to Region Convert Circle to Region
There's no Any Region.
I think you'll have to add each region manually into the event. :/
Create a region containing multiple region, i.e shapes. Works for most use-cases.
@caspersc: Go
Yep i tried that and works. But its kinda annoying that the function doesn't exist.
@SiNiquity: Go
The (Region(Any Region)) is a convert region to preset or something like that....
Thanks for the answers guys
@ralme360: Go
Yeam but Region(Any Region) translates to null and I don't think that's a working input for the event.
Also, when using regions with multiple shapes you can't figure out which shape exactly has been entered without using a bunch of RegionContainsUnit, no?
Using Any Region doesn't make sense to me, considering the editor allows you to choose Entire Playable Area and Entire map. It may just be me, but it makes sense that if you could choose Any Region, those would be included.
@s3rius: Go this does not work, i know... But it works with multiple shapes (I only used the circle..)
@7MM3: Go I want all regions you create yourself. Like in the terrain editor. But i guess i have to do the trigger multiple times or just add the "Unit - Any Unit Enters Region 001" and then "Unit - Any Unit Enters Region 002" and so on.
I havent opened GE editor in a while, but if there is a Pick all Regions in playable map area action, then use that, and then Trigger Add Event - A unit enters region (Picked region) upon map initialization