PFLOW
Every Day Scripts
– Simple Scripts
– “Delete particle if its z is smaller then 0″
– www.MIkeOakley.comon ChannelsUsed pCont do
(
pCont.useTime = true
pCont.usePosition = true
)on Init pCont do
()
on Proceed pCont do
(
count = pCont.NumParticles()
for i in 1 to count do
(
pCont.particleIndex = i
if pCont.particlePosition.z < -1 then
(
pcont.deleteParticle i
)
)
)on Release pCont do
()