Difference between revisions of "Particle V3"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Created page with "==Syntax== ''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:green'>particle_v3</span> register1</span> * ''register1 = X value of where to plac...")
 
(Use)
 
(2 intermediate revisions by 2 users not shown)
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 9: Line 9:
  
 
==Use==
 
==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
+
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==
 
==Example==
Line 20: Line 19:
 
  <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>
  
 +
 +
==Also see==
 
[[ret]] [[leti]]
 
[[ret]] [[leti]]

Latest revision as of 22:23, 5 October 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://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