This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
prpl:docs:particleexists [2015/03/04 15:56] – external edit 127.0.0.1 | prpl:docs:particleexists [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | ||
- | <- [[pf: | ||
- | ===== command | ||
- | === Raw Code === | ||
- | < | ||
- | case STATEMENT.PARTICLEEXISTS: | ||
- | i1 = GetIntFromStack(); | ||
- | |||
- | if (Particles.GetParticleByUID(i1) != null) { | ||
- | stack.Push(new Data(1)); | ||
- | } else { | ||
- | stack.Push(new Data(0)); | ||
- | } | ||
- | </ | ||
- | |||
- | |||
- | ^Arguments^Result^Notation^ | ||
- | | | |'' | ||
- | |||
- | === How to use === | ||
- | |||
- | | Standard CRPL | //arguments // **command ** | | ||
- | | Warp notation | **command** (// | ||
- | |||
- | === Description === | ||
- | |||
- | === programming notes === | ||
- | |||
- | === Examples === | ||
- | < | ||
- | ShowTraceLog | ||
- | </ | ||
- | |||
- | Same example in Warp notation: | ||
- | |||
- | < | ||
- | showtracelog | ||
- | |||
- | </ |