- Documentation
- Server functions
- setWaterDrawnLast
Function
setWaterDrawnLast
Stores whether water should be drawn last (this affects how transparent objects under water look).
Syntax
bool setWaterDrawnLast(bool enabled)Arguments
enabledbooltrue= water last.
Returns
true on success.
Example
setWaterDrawnLast(true)
Notes
State for scripts. The drawing order in the game does not change.