Difference between revisions of "Particle id V3"
From Unofficial QEdit Wiki Guide
(Created page with "==Syntax== ''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:green'>particle_id_v3</span> register1</span> * ''register1 = Particle # Used.'' *...") |
(→Example) |
||
Line 12: | Line 12: | ||
==Example== | ==Example== | ||
<span style='color:orange'>//This opcode is used to set a specific particle on player slot 1.</span> | <span style='color:orange'>//This opcode is used to set a specific particle on player slot 1.</span> | ||
− | |||
− | |||
<span style='color:blue'>0: </span><span style='color:green'>get_slotnumber </span>R250 <span style='color:orange'>//Puts the player's slot number is R250.</span> | <span style='color:blue'>0: </span><span style='color:green'>get_slotnumber </span>R250 <span style='color:orange'>//Puts the player's slot number is R250.</span> | ||
− | |||
<span style='color:blue'>100: </span><span style='color:green'>leti </span>R1, 00000000 <span style='color:orange'>//Set particle 1.</span> | <span style='color:blue'>100: </span><span style='color:green'>leti </span>R1, 00000000 <span style='color:orange'>//Set particle 1.</span> | ||
<span style='color:green'> leti </span>R2, 00000003 <span style='color:orange'>//Set frames to activate particle to 3, most need a minimum of this.</span> | <span style='color:green'> leti </span>R2, 00000003 <span style='color:orange'>//Set frames to activate particle to 3, most need a minimum of this.</span> |
Revision as of 15:14, 14 February 2021
Contents
Syntax
Syntax: particle_id_v3 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://drive.google.com/file/d/1rIN1md_2Pw7kLapf5RAuCjE4HwEj1UR4/view
Example
//This opcode 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. leti R3, R250 //Set the particle to player slot 1. leti R4, 0000000A //Set the Y value of the particle to 10. particle_id_v3 R1 //Tells where to start the continuation of registry strings to be used for the particle ID. ret