User Tools

Site Tools


prpl:getallconnectedparticlecount

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
prpl:getallconnectedparticlecount [2016/12/02 23:34] – external edit 127.0.0.1prpl:getallconnectedparticlecount [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]+<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#particles|Particles]]
  
-=====  GETALLCONNECTEDPARTICLECOUNT  =====+=====  GetAllConnectedParticleCount  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+pid count | [ int int ] |
  
  
 === Description === === Description ===
 +Gets the number particles that are connected to this particle in a chain, including itself.
  
 === Examples === === Examples ===
-<code> i1 = GetIntFromStack();  +<code prpl
- stack.Push(new Data(results.Count));  +"Chain size:" <-pid GetAllConnectedParticleCount Trace2
- } else {  +
- stack.Push(new Data(0));  +
- +
 </code> </code>
  
prpl/getallconnectedparticlecount.1480721642.txt.gz · Last modified: 2025/02/14 14:56 (external edit)