A place to talk about CG particles...
login.php?sid=1ca7d7490b138c5329ef7e456ad8aba0 profile.php?mode=register&sid=1ca7d7490b138c5329ef7e456ad8aba0 faq.php?sid=1ca7d7490b138c5329ef7e456ad8aba0 memberlist.php?sid=1ca7d7490b138c5329ef7e456ad8aba0 search.php?sid=1ca7d7490b138c5329ef7e456ad8aba0 index.php?sid=1ca7d7490b138c5329ef7e456ad8aba0

Orbaz Technologies Forum Index » Particle Flow Tools: Box#3 » Counting times in event
Post new topic  Reply to topic View previous topic :: View next topic 
Counting times in event
PostPosted: Wed Jul 31, 2013 12:12 pm Reply with quote
Vex
Joined: 19 Jun 2012
Posts: 3
Location: Stockholm, Sweden




Is it possible to count how many times a particle has been in a certain event?

I would like to spawn groups of similar geometry for X iterations and then move on to another type of geometry, if that makes sense?

Any help or tips would be greatly appreciated, thanks!
View user's profile Send private message
PostPosted: Wed Jul 31, 2013 5:55 pm Reply with quote
nickolay411
Joined: 12 Jan 2009
Posts: 296
Location: LA




Hey Vex,

Sure there is!

In your birth event. Create a Output New -- Integer --set it to global.. Rename it to COUNTER.
Pipe a integer value of 0 into it.

In the event who's multiple entries you'd like to count.
Custom Input --- Counter
Now add COUNTER with an integer of 1
pipe that value into a custom output selecting COUNTER
And make sure the custom output only gets evaluated on New in Event.

Cheers,
Nick
View user's profile Send private message AIM Address
PostPosted: Wed Jul 31, 2013 7:57 pm Reply with quote
Vex
Joined: 19 Jun 2012
Posts: 3
Location: Stockholm, Sweden




Nickolay my main man! Tthat worked like a charm.
Many thanks for taking your time!

Cheers!
View user's profile Send private message
PostPosted: Thu Aug 01, 2013 12:27 am Reply with quote
nickolay411
Joined: 12 Jan 2009
Posts: 296
Location: LA




No problem. Glad that worked.

-N
View user's profile Send private message AIM Address
Counting times in event
Orbaz Technologies Forum Index » Particle Flow Tools: Box#3
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Copyrightę 2004-2005 Orbaz Technologies, Inc. All rights reserved.
Powered by phpBB © 2001, 2005 phpBB Group
phpBB Style by Vjacheslav Trushkin