This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:getmaxcreepercellwithdamage [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:getmaxcreepercellwithdamage [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | < | + | < |
+ | < | ||
====== GetMaxCreeperCellWithDamage ====== | ====== GetMaxCreeperCellWithDamage ====== | ||
Line 9: | Line 10: | ||
If the map contains no creeper, the returned X coordinate will be negative (not on the map) | If the map contains no creeper, the returned X coordinate will be negative (not on the map) | ||
+ | Note that if you use it on the first frame of the map before it has calculated the creeper map it will return 0, 0 instead of -1, 0 if there' | ||
===== Examples ===== | ===== Examples ===== | ||
<code 4rpl> | <code 4rpl> |