Difference between revisions of "Manual:DIL Manual/setweight()"
Jump to navigation
Jump to search
(XML import) |
|||
| (3 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | = setweight( u : unitptr, i : integer ) | + | <span id="bpsetweight"></span> |
| + | setweight( u : unitptr, i : integer ) | ||
| + | u : the unit on which you wish to alter the weight. | ||
| + | i : the new weight | ||
| − | + | This is needed on for example drink-containers. I.e. if you wish to | |
| − | + | remove or add some liquid, you must also adjust the weight of the | |
| − | + | container, or you will mess up things. | |
| − | + | ---~---~---~---~---~---~---~---~--- | |
| − | + | <span id="bpsetweight"></span> | |
| − | + | setweight( u : unitptr, i : integer ) | |
| − | + | u : the unit on which you wish to alter the weight. | |
| − | the | + | i : the new weight |
| − | |||
| − | + | This is needed on for example drink-containers. I.e. if you wish to | |
| + | remove or add some liquid, you must also adjust the weight of the | ||
| + | container, or you will mess up things. | ||
| − | + | ---~---~---~---~---~---~---~---~--- | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 22:38, 4 December 2025
setweight( u : unitptr, i : integer ) u : the unit on which you wish to alter the weight. i : the new weight
This is needed on for example drink-containers. I.e. if you wish to remove or add some liquid, you must also adjust the weight of the container, or you will mess up things.
---~---~---~---~---~---~---~---~---
setweight( u : unitptr, i : integer ) u : the unit on which you wish to alter the weight. i : the new weight
This is needed on for example drink-containers. I.e. if you wish to remove or add some liquid, you must also adjust the weight of the container, or you will mess up things.
---~---~---~---~---~---~---~---~---