I don't think you can differentiate between deep and shallow water (I may be wrong)
|
Water has a height of precisely 166.400
- Untitled Trigger 001
- Events
- Time - Every 0.20 seconds of game time
- Conditions
- Actions
- Set p = (Position of u)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Terrain pathing at p of type Floatability is off) Equal to False
- Then - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Terrain pathing at p of type Walkability is off) Equal to True
- Then - Actions
- Game - Display to Player Group - Player 1 (Red) the text: deep water
- Else - Actions
- Game - Display to Player Group - Player 1 (Red) the text: shallow water
- Else - Actions
- Game - Display to Player Group - Player 1 (Red) the text: not water
- Custom script: call RemoveLocation(udg_p)
Well the best solution to detect if the water is deep or not ... You should use an invisible dummy using a trigger to detect it's height . Well the deep water has a lesser height then the shallow water
Condition : Integer Condition - Height of 'dummy' less or equal to 'height'