User Tools

Site Tools


prpl:docs:particleexists

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
prpl:docs:particleexists [2016/03/29 12:28] – added basic information jmapsprpl:docs:particleexists [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
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.PARTICLEEXISTS: 
-                    i1 = GetIntFromStack(); //Particle UID 
- 
-                    if (Particles.GetParticleByUID(i1) != null) { 
-                        stack.Push(new Data(1)); 
-                    } else { 
-                        stack.Push(new Data(0)); 
-                    } 
-</code> 
- 
- 
-^Arguments^Result^Notation^ 
-| Particle UID | If particle exists or not |''i1 -- b1''| 
- 
-=== 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> 
prpl/docs/particleexists.1459254508.txt.gz · Last modified: 2025/02/14 14:56 (external edit)