- Joined
- Dec 18, 2007
- Messages
- 205
Hi guys.
Is there a way to check whether a unit is in water?
And is it possible to differ between "deep" water and "dead water"/"shallow" water
Basically I want to detect whether a unit moves into/out of the water, so I can do some actions.
An alternative solution would be making regions and detect a 'Unit - Enters/Leaves Region', but with a naturally looking ocean this would be really time-consuming to create so many regions.
Thanks for any ideas or scripts. I searched, but was not successful.
Greetings,
bReathl3sS
Is there a way to check whether a unit is in water?
And is it possible to differ between "deep" water and "dead water"/"shallow" water
Basically I want to detect whether a unit moves into/out of the water, so I can do some actions.
An alternative solution would be making regions and detect a 'Unit - Enters/Leaves Region', but with a naturally looking ocean this would be really time-consuming to create so many regions.
Thanks for any ideas or scripts. I searched, but was not successful.
Greetings,
bReathl3sS