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
i1 i2 f4 f3 f2 f1 –

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.1425484603.txt.gz · Last modified: 2025/02/14 14:56 (external edit)