This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
pf:particleexists [2015/02/28 16:50] – Karsten75 | pf:particleexists [2015/03/04 18:33] (current) – removed pawel345 | ||
---|---|---|---|
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 | ||
- | |||
- | </ |