User Tools

Site Tools


prpl:docs:particleexists

This is an old revision of the document!


~~DISCUSSION~~ <- Alpha List of Commands <-class link <-PRPL home <- Game 4 home

command

Raw Code

case STATEMENT.PARTICLEEXISTS:
                    i1 = GetIntFromStack(); //Particle UID

                    if (Particles.GetParticleByUID(i1) != null) {
                        stack.Push(new Data(1));
                    } else {
                        stack.Push(new Data(0));
                    }
ArgumentsResultNotation
Particle UID If particle exists or not i1 – b1

How to use

Standard CRPL arguments command
Warp notation command (arguments)

Description

programming notes

Examples

ShowTraceLog

Same example in Warp notation:

showtracelog
prpl/docs/particleexists.1459254508.txt.gz · Last modified: 2025/02/14 14:56 (external edit)