This shows you the differences between two versions of the page.
pf:prpl:docs:setparticlemaxspeed [2015/03/04 15:58] – created pawel345 | pf:prpl:docs:setparticlemaxspeed [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | ||
- | <- [[pf: | ||
- | ===== command | ||
- | === Raw Code === | ||
- | < | ||
- | case STATEMENT.SETPARTICLEMAXSPEED: | ||
- | f1 = GetFloatFromStack(); | ||
- | i1 = GetIntFromStack(); | ||
- | { | ||
- | ParticleBase p = Particles.GetParticleByUID(i1); | ||
- | if (p != null) { | ||
- | (p as Particle).MAX_DELTA = f1; | ||
- | } | ||
- | } | ||
- | break; | ||
- | </ | ||
- | |||
- | |||
- | ^Arguments^Result^Notation^ | ||
- | | | |'' | ||
- | |||
- | === How to use === | ||
- | |||
- | | Standard CRPL | //arguments // **command ** | | ||
- | | Warp notation | **command** (// | ||
- | |||
- | === Description === | ||
- | |||
- | === programming notes === | ||
- | |||
- | === Examples === | ||
- | < | ||
- | ShowTraceLog | ||
- | </ | ||
- | |||
- | Same example in Warp notation: | ||
- | |||
- | < | ||
- | showtracelog | ||
- | |||
- | </ |