User Tools

Site Tools


4rpl:commands:getflow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:getflow [2021/03/12 22:04] Karsten754rpl: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 +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. **Values for AC are reversed, AC flowing towards the right of the map would return a negative flowX.** 
-store the amount of creper 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 "1" creeper on the map. Note that flow values in integer creeper values. A value of 1000000 (1 million) represents an amount of "1" creeper on the map.
 +
 Flow values can be useful for finding/setting waves. Flow values can be useful for finding/setting waves.
  
4rpl/commands/getflow.1615586699.txt.gz · Last modified: 2025/02/14 14:56 (external edit)