This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| prpl:getparticlehasteleported [2016/12/02 23:34] – external edit 127.0.0.1 | prpl:getparticlehasteleported [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <- [[.: | + | <- [[.: |
| - | ===== | + | ===== |
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | | | | [ - ] | | + | | pid | bool | [ int - bool ] | |
| === Description === | === Description === | ||
| + | Checks if the particle has been teleproted by PRPL this frame. | ||
| === Examples === | === Examples === | ||
| - | < | + | < |
| - | stack.Push(new Data(p.teleported ? 1 : 0)); | + | <-pid GetParticleHasTeleported not if |
| - | + | <-pid 50 50 1 0 TeleportParticle | |
| + | #teleprot particle to 50 50 if it was not teleported this frame yet | ||
| + | endif | ||
| </ | </ | ||