This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
prpl:particleexists [2016/12/02 23:34] – external edit 127.0.0.1 | prpl:particleexists [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 given particle exists and is not destroyed. Returns 0 if the id is invalid or it is not a particle. | ||
=== Examples === | === Examples === | ||
- | < | + | < |
- | + | <-pid ParticleExists if | |
+ | <-pid 0.1 DamageParticle | ||
+ | endif | ||
</ | </ | ||