Difference between revisions of "Particle V3"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Example)
Line 1: Line 1:
 
==Syntax==
 
==Syntax==
''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:green'>particle_v3</span> register1</span>
+
''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:red'>particle_v3</span> register1</span>
  
 
* ''register1 = X value of where to place the particle.''
 
* ''register1 = X value of where to place the particle.''
Line 20: Line 20:
 
  <span style='color:green'>        leti </span>R4, 00000001 <span style='color:orange'>//Set particle 1 to use.</span>
 
  <span style='color:green'>        leti </span>R4, 00000001 <span style='color:orange'>//Set particle 1 to use.</span>
 
  <span style='color:green'>        leti </span>R5, 00000003 <span style='color:orange'>//Set the # of frames to use, 3 is needed for most particles.</span>
 
  <span style='color:green'>        leti </span>R5, 00000003 <span style='color:orange'>//Set the # of frames to use, 3 is needed for most particles.</span>
  <span style='color:green'>        particle_v3 R1 </span><span style='color:orange'>//Tells where to start the continuation of registry strings to be used for the particle.</span>
+
  <span style='color:red'>        particle_v3 R1 </span><span style='color:orange'>//Tells where to start the continuation of registry strings to be used for the particle.</span>
 
  <span style='color:green'>        ret </span>
 
  <span style='color:green'>        ret </span>
  

Revision as of 18:44, 5 February 2022

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://drive.google.com/file/d/1rIN1md_2Pw7kLapf5RAuCjE4HwEj1UR4/view


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