User Tools

Site Tools


prpl:setparticleposition

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

prpl:setparticleposition [2016/12/02 18:34] – created - external edit 127.0.0.1prpl:setparticleposition [2023/07/29 12:18] (current) SpeedCZ
Line 4: Line 4:
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+|Particle ID (PID), X Position, Y Position | | [ int float float - ] |
  
  
Line 10: Line 10:
  
 === Examples === === Examples ===
 +<code>
 +#Im creating the particles for the PIDs, if you have a source of PIDs feel free to ignore the line below
 +20 20 0.0 0.75 0 false CreateParticle ->PID
 +
 +#Teleports the particle on top of itself, basicly we just remade a emitter
 +<-PID CurrentPixelCoords SetParticlePosition
 + 
 +</code>
 +
 <code> f2 = GetFloatFromStack(); //y  <code> f2 = GetFloatFromStack(); //y 
  f1 = GetFloatFromStack(); //x   f1 = GetFloatFromStack(); //x 
prpl/setparticleposition.txt · Last modified: 2023/07/29 12:18 by SpeedCZ