Don't have wc with me atm, but can we rotate regions? because the arena is a square turned 45 degrees (diamond with 4 equal sides, if you like)
And even if that's possible, what we really want is the 'inverted' version of that region so it will covers everything but not the arena itself
nevertheless, it would be safe to include that, and also stopping the unit from casting an ability targeting a point outside of the arena:
and
and I was thinking (if the above 2 triggers work) to also use yours as a safety precaution, since the above two should stops the unit from moving outside, if the player managed to find a way out somehow after all that, then:
Dont know, but I just found moving the unit not very 'neat' in a map =3=, so I would prefer stopping the unit from moving outside
Another way is maybe to make the action counts on the condition that the unit is in [the entire map] but not in the [arena] IF we can rotated regions to cover the arena, that is. Or just simply,
===== Edition 1
What would make the region possible (if rotation is not possible) is having a square arena, so I think another way out is to just remodeled the whole map and just lock each player's camera to 45 degrees instead so in terms of game-play, it would still be the same
And even if that's possible, what we really want is the 'inverted' version of that region so it will covers everything but not the arena itself
nevertheless, it would be safe to include that, and also stopping the unit from casting an ability targeting a point outside of the arena:
Trigger:
- Events
- A unit casted an ability targeting a point
- Conditions
- (Targeted point) is in region Outside<gen> Equal to true
- Actions
- Unit - Stop (triggering unit) from casting the ability
- Game - Display to (owner of (triggering unit)) the text: You cannot go out of bound!
and
Trigger:
- Events
- A unit issued an order targeting a point
- Conditions
- (Targeted point) is in region Outside<gen> Equal to true
- Actions
- Unit - Stop (triggering unit) instantly
- Game - Display to (owner of (triggering unit)) the text: You cannot move out of bound!
and I was thinking (if the above 2 triggers work) to also use yours as a safety precaution, since the above two should stops the unit from moving outside, if the player managed to find a way out somehow after all that, then:
Trigger:
- Events
- A unit enter region Outside<gen>
- Conditions
- Actions
- Unit - instantly move (triggering unit) to (center of (entire map))
- Camera - move camera, blah blah blah
- Game - Display text ...
Dont know, but I just found moving the unit not very 'neat' in a map =3=, so I would prefer stopping the unit from moving outside
Another way is maybe to make the action counts on the condition that the unit is in [the entire map] but not in the [arena] IF we can rotated regions to cover the arena, that is. Or just simply,
Trigger:
- Events
- A unit leaves region
- Conditions
- Region = to arena<gen>
===== Edition 1
What would make the region possible (if rotation is not possible) is having a square arena, so I think another way out is to just remodeled the whole map and just lock each player's camera to 45 degrees instead so in terms of game-play, it would still be the same