User Tools

Site Tools


prpl:particleexists

Differences

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

Link to this comparison view

prpl:particleexists [2016/12/02 18:34] – external edit 127.0.0.1prpl:particleexists [2018/06/17 11:34] (current) – added description kajacx
Line 1: Line 1:
-<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]+<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#particles|Particles]]
  
-=====  PARTICLEEXISTS  =====+=====  ParticleExists  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+pid bool | [ int bool ] |
  
  
 === Description === === Description ===
 +Checks if the given particle exists and is not destroyed. Returns 0 if the id is invalid or it is not a particle.
  
 === Examples === === Examples ===
-<code> i1 = GetIntFromStack(); //Particle UID  +<code prpl
- +<-pid ParticleExists if 
 +    <-pid 0.1 DamageParticle 
 +endif 
 </code> </code>
  
prpl/particleexists.1480721640.txt.gz · Last modified: 2016/12/02 18:34 by 127.0.0.1