Make a unit group and add all of your naval units to it. Create a trigger that goes off whenever a naval unit moves. In that trigger, check the World Height (the height of the actual walkable terrain) against the height of the water. If the terrain at the place they're trying to move is higher than the water, don't let them move there.
(rrowland)
i'm having trouble finding the basic elements of the event and action, though... some guidance would be appreciated. i can't find anything like event: unit moves, or a way to check if a unit is moving and its destination height during a particular loop compared to its previous height. is that done 'manually'?
basically, i have three different cliff levels, and my shipyards are on the bottom cliff. i'd like to manipulate a unit group of naval units and make it so they can only move around on the bottom cliff land, that's my ultimate aim...
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
i was given this advice to make naval units,
Make a unit group and add all of your naval units to it. Create a trigger that goes off whenever a naval unit moves. In that trigger, check the World Height (the height of the actual walkable terrain) against the height of the water. If the terrain at the place they're trying to move is higher than the water, don't let them move there. (rrowland)
i'm having trouble finding the basic elements of the event and action, though... some guidance would be appreciated. i can't find anything like event: unit moves, or a way to check if a unit is moving and its destination height during a particular loop compared to its previous height. is that done 'manually'?
basically, i have three different cliff levels, and my shipyards are on the bottom cliff. i'd like to manipulate a unit group of naval units and make it so they can only move around on the bottom cliff land, that's my ultimate aim...