This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| prpl:teleportparticle [2016/12/02 23:34] – external edit 127.0.0.1 | prpl:teleportparticle [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <- [[.: | + | <- [[.: |
| - | ===== | + | ===== |
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | | | | [ - ] | | + | | pid x y wholechain? breakbond? |
| === Description === | === Description === | ||
| + | Teleports a particle to the target location (in pixel coordinates). You can specify wheter or not to break bonds or teleport the whole chain in case the particle is a part of a chain. | ||
| === Examples === | === Examples === | ||
| - | < | + | < |
| - | i2 = GetIntFromStack(); | + | <-pid 200 50 1 0 TeleportParticle |
| - | f2 = GetFloatFromStack(); | + | #teleprot particle to target location with the whole chain |
| - | f1 = GetFloatFromStack(); | + | |
| - | i1 = GetIntFromStack(); | + | |
| - | + | ||
| </ | </ | ||