Particle V3

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: particle_v3 register1

  • register1 = X value of where to place the particle.
  • register2 = Y value of where to place the particle.
  • register3 = Z value of where to place the particle.
  • register4 = Particle ID.
  • register5 = # of frames

Use

Used to set a particle on a specific set of coordinates, here's a link to all particle values https://youtu.be/4wFH3o8e-Os?list=PLE91Ij65SvIgE5LZye2hgnzCvwhwexs9I

Example

//This example is used to set a specific particle on the map.

100:     leti R1, 0000000A //Set the X value of the particle to 10.
         leti R2, 00000000 //Set Y value of the particle to 0
         leti R3, 00000064 //Set Z value of the particle to 100
         leti R4, 00000001 //Set particle 1 to use.
         leti R5, 00000003 //Set the # of frames to use, 3 is needed for most particles.
         particle_v3 R1 //Tells where to start the continuation of registry strings to be used for the particle.
         ret 


Also see

ret leti