This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:getdigitalis [2015/11/19 18:01] – Added example code flareboy127 | crpl:docs:getdigitalis [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | ||
<- [[crpl: | <- [[crpl: | ||
===== GetDigitalis | ===== GetDigitalis | ||
Line 13: | Line 12: | ||
1 means full health Digitalis is present. | 1 means full health Digitalis is present. | ||
=== Examples === | === Examples === | ||
- | < | + | < |
once | once | ||
60 SetTimer0 | 60 SetTimer0 | ||
Line 19: | Line 18: | ||
CurrentCoords GetDigitalis 1 eq if | CurrentCoords GetDigitalis 1 eq if | ||
GetTimer0 eq0 if | GetTimer0 eq0 if | ||
- | CurrentCoords | + | CurrentCoords 20 SetCreeper |
60 SetTimer0 | 60 SetTimer0 | ||
endif | endif | ||
endif</ | endif</ |