Difference between revisions of "Particle3 id"

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'>particle3f_id</span> register1</span> * ''register1 = Particle # Used.'' * '...")
 
m (Ender moved page Particle3f id to Particle3 id)
(No difference)

Revision as of 02:15, 18 June 2022

Syntax

Syntax: particle3f_id register1

  • register1 = Particle # Used.
  • register2 = How many frames.
  • register3 = Character ID to tie the register to.
  • register4 = Y value of the particle.

Use

Used to set a particle on a specific character, 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 player slot 1.

0:     get_slotnumber R250 //Puts the player's slot number is R250.
100:     leti R1, 00000000 //Set particle 1.
         leti R2, 00000003 //Set frames to activate particle to 3, most need a minimum of this.
         let R3, R250 //Set the particle to player slot 1.
         leti R4, 0000000A //Set the Y value of the particle to 10.
         particle3f_id R1 //Tells where to start the continuation of registry strings to be used for the particle ID.
         ret 

Also see

ret let leti get slotnumber