<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#particles|Particles]] ===== GetAllConnectedParticles ===== ^Arguments^Result^Notation^ | pid | pid* count | [ int - int* int] | === Description === 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 [[prpl:getcoreswithvar|GETCORESWITHVAR]]. === Examples === # damage the whole chain <-pid GetAllConnectedParticles 0 do 0.5 DamageParticle loop