scriptOp particle count on event entry
#1
Sorry Tyson.., it might be an idiot request but won't it be handy to have this property in the script operator?
Code:
// [int] onEntryParticleCount = number of particles entering this event prior to script execution

so we could do this kind of loop even when particle deaths occur:
Code:
for (int i = eventParticleCount - onEntryParticleCount; i < eventParticleCount; i++)

// this for-loop iterates only through particles entering this event
  Reply


Messages In This Thread
scriptOp particle count on event entry - by Geoff - 12-14-2019, 07:15 PM

Forum Jump: