Difference between revisions of "Manual:DIL Manual/setbright()"
Jump to navigation
Jump to search
(XML import) |
(XML import) |
||
| Line 1: | Line 1: | ||
| + | <span id="bpsetbright"></span> | ||
| + | setbright( u : unitptr, i : integer ) | ||
| + | u : the unit on which you want to change the brightness. | ||
| + | i : the new brightness | ||
| + | When you want to increase / decrease the amount of light shed by a | ||
| + | unit, use this function. Units with "bright" light up rooms so that | ||
| + | people can see. | ||
| + | ---~---~---~---~---~---~---~---~--- | ||
<span id="bpsetbright"></span> | <span id="bpsetbright"></span> | ||
setbright( u : unitptr, i : integer ) | setbright( u : unitptr, i : integer ) | ||
Latest revision as of 22:34, 4 December 2025
setbright( u : unitptr, i : integer ) u : the unit on which you want to change the brightness. i : the new brightness
When you want to increase / decrease the amount of light shed by a unit, use this function. Units with "bright" light up rooms so that people can see.
---~---~---~---~---~---~---~---~---
setbright( u : unitptr, i : integer ) u : the unit on which you want to change the brightness. i : the new brightness
When you want to increase / decrease the amount of light shed by a unit, use this function. Units with "bright" light up rooms so that people can see.
---~---~---~---~---~---~---~---~---