- Joined
- Jan 18, 2007
- Messages
- 180
Is there any way to set the name of a region to a variable? I'm trying to get a trigger like this:
I know I could just make the worlds longest "If/Then/Else" but there must be another way, because I actually have way more events than the 5 listed above.
Thanks. Hope I was clear enough.
-
Horizontal Street
-
Events
- Unit - A unit enters a <gen>
- Unit - A unit enters b <gen>
- Unit - A unit enters c <gen>
- Unit - A unit enters d <gen>
- Unit - A unit enters e <gen>
- Conditions
-
Actions
- Set xstring = (Name of (Entering Region))
-
Events
I know I could just make the worlds longest "If/Then/Else" but there must be another way, because I actually have way more events than the 5 listed above.
Thanks. Hope I was clear enough.