User Tools

Site Tools


pf:getallconnectedparticlecount

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
pf:getallconnectedparticlecount [2015/02/28 16:54] Karsten75pf:getallconnectedparticlecount [2015/03/04 18:33] (current) – removed pawel345
Line 1: Line 1:
-~~DISCUSSION~~ 
-<- [[pf:alphabetic_list_of_commands| Alpha List of Commands]] <-[[class link]] <-[[pf:prpl_information|PRPL home]] <-[[pf:start| Game 4 home]]   
-=====  command   ===== 
  
-=== Raw Code === 
-<code> 
-case STATEMENT.GETALLCONNECTEDPARTICLECOUNT: 
-                    i1 = GetIntFromStack(); 
-                    { 
-                        ParticleBase p = Particles.GetParticleByUID(i1); 
-                        if (p != null && p is Particle) { 
-                            HashSet<Particle> results = (p as Particle).GetAllConnected(); 
-                            stack.Push(new Data(results.Count)); 
-                        } else { 
-                            stack.Push(new Data(0)); 
-                        } 
-                    } 
-                    break; 
-</code> 
- 
- 
-^Arguments^Result^Notation^ 
-| |  |''i1 i2 f4 f3 f2 f1 --  ''| 
- 
-=== How to use === 
- 
-| Standard CRPL | //arguments // **command **   | 
-| Warp notation | **command** (//arguments//) | 
- 
-=== Description === 
- 
-=== programming notes === 
- 
-=== Examples === 
-<code> 
-ShowTraceLog 
-</code>  
- 
-Same example in Warp notation: 
- 
-<code> 
-showtracelog 
- 
-</code> 
pf/getallconnectedparticlecount.1425142459.txt.gz · Last modified: 2025/02/14 14:56 (external edit)