Particle Script: Difference between revisions
→Int Elements
imported>Jackoalan (Replace woefully inaccurate guesses with properly researched discoveries) |
imported>Jackoalan |
||
| (One intermediate revision by the same user not shown) | |||
| Line 89: | Line 89: | ||
{{ParticleElementRow|CNST|s32 value|Constant|Returns ''value'' on every call|{{check}}|{{check}}|{{check}}|{{check}}|{{check}}}} | {{ParticleElementRow|CNST|s32 value|Constant|Returns ''value'' on every call|{{check}}|{{check}}|{{check}}|{{check}}|{{check}}}} | ||
{{ParticleElementRow|DETH|IntElement passthrough, IntElement thresholdFrame|Death|Always returns ''passthrough'', and signals out-of-band to cease updating the system when the current frame index exceeds ''thresholdFrame''|{{check}}|{{check}}|{{check}}|{{check}}|{{check}}}} | {{ParticleElementRow|DETH|IntElement passthrough, IntElement thresholdFrame|Death|Always returns ''passthrough'', and signals out-of-band to cease updating the system when the current frame index exceeds ''thresholdFrame''|{{check}}|{{check}}|{{check}}|{{check}}|{{check}}}} | ||
{{ParticleElementRow|GAPC|| | {{ParticleElementRow|GAPC||Get Active Particle Count|Accesses the current count of particles in the system|{{check}}|{{check}}|{{check}}|{{check}}|{{check}}}} | ||
{{ParticleElementRow|GEMT|| | {{ParticleElementRow|GEMT||Get Emitter Time|Accesses the current frame count for the current particle system|{{check}}|{{check}}|{{check}}|{{check}}|{{check}}}} | ||
{{ParticleElementRow|GTCP|| | {{ParticleElementRow|GTCP||Get Cumulative Particle Count|Accesses the total number of particles created over the particle system's lifetime (including those that have died)|{{check}}|{{check}}|{{check}}|{{check}}|{{check}}}} | ||
{{ParticleElementRow|ILPT|IntElement percent|Lifetime Percent|Queries the frame index at ''percent''/100.0 into the lifetime of the particle instance|{{check}}|{{check}}|{{check}}|{{check}}|{{check}}}} | {{ParticleElementRow|ILPT|IntElement percent|Lifetime Percent|Queries the frame index at ''percent''/100.0 into the lifetime of the particle instance|{{check}}|{{check}}|{{check}}|{{check}}|{{check}}}} | ||
{{ParticleElementRow|IMPL|IntElement val|Impulse|Returns ''val'' ONLY at frame index 0, then returns 0 for subsequent frames|{{check}}|{{check}}|{{check}}|{{check}}|{{check}}}} | {{ParticleElementRow|IMPL|IntElement val|Impulse|Returns ''val'' ONLY at frame index 0, then returns 0 for subsequent frames|{{check}}|{{check}}|{{check}}|{{check}}|{{check}}}} | ||