<- PRPL reference <- Particles
Arguments | Result | Notation |
---|---|---|
pid | pid* count | [ int - int* int] |
Gets all particles that are connected to this particles in a chain, including itself. All the particle ids are pushed on top of the stack, with the total count pushed on top of it, similar to GETCORESWITHVAR.
# damage the whole chain <-pid GetAllConnectedParticles 0 do 0.5 DamageParticle loop