PV_Step

Category: Particles
Since engine version: 3.3 OC

Description

PV_Step can be used for values that do not depend on the particle age (unlike f.e. PV_Linear).

Syntax

array PV_Step(int step, int start_value, int delay, int maximumValue);

Parameters

step:
Increase per each step (usually one frame, see the delay-parameter).
start_value:
[opt] Value that will be added to the current step-value.
delay:
[opt] Delay in frames for every step (defaults to 1).
maximumValue:
[opt] If not 0, the returned value will be capped at this value and not increase further.

Remark

See the particle documentation for further explanations of the particle system.
See also: CreateParticle, PC_Bounce, PC_Die, PV_Direction, PV_KeyFrames, PV_Linear, PV_Random, PV_Sin, PV_Speed
Zapper, 2013-10