This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| 4rpl:commands:getflow [2025/12/25 21:27] – expand Grabz | 4rpl:commands:getflow [2025/12/25 22:03] (current) – previous assertion was wrong, this one is correct Grabz | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| ===== Description ===== | ===== Description ===== | ||
| Gets the wave flow vector for a given map location. | Gets the wave flow vector for a given map location. | ||
| - | Perfectly still creeper that isn't flowing will have a {0,0} flow vector. Once creeper starts to flow, the flow vector will store the amount of creeper that moved in or out of the cell on the last game update frame. So creeper flowing only towards the right of the map, would return a positive flowX and a zero flowZ. | + | Perfectly still creeper that isn't flowing will have a {0,0} flow vector. Once creeper starts to flow, the flow vector will store the amount of creeper that moved in or out of the cell on the last game update frame. So creeper flowing only towards the right of the map, would return a positive flowX and a zero flowZ. |
| - | Note that flow values in integer creeper values. A value of 1000000 (1 million) represents an amount of " | + | Note that flow values in integer creeper values. A value of 1000000 (1 million) represents an amount of " |
| Flow values can be useful for finding/ | Flow values can be useful for finding/ | ||