Notifications
Clear all
[Closed] Script for Particle Flow Rate
Apr 04, 2011 1:05 pm
Hi all,
I have a particle system, which is for shooting lasers out of a gun.
selection[1].event_01.birth_01.rate
This is how i reach to the rate of my particle system… But a spesific one ( Event_01 and Birth 01)
What i want to ask is how to reach to the ’ selected objects particle rate ‘. My script only works if there is an event,which named as “Birth_01”
Like ı have 10 different particle sources on my scene. And when i click on one of it, the rate of selected Particle source will be affected,not a spesific one like Birth_01.
The particle rate of selected Particle Flow Source… Thats what i am trying to reach.
Any help would be apreciatted…
2 Replies
Apr 04, 2011 1:05 pm
Hi,
Here is what you want:
BirthEvent = (selection[1].getInitialActionList 1).getAction 1
print BirthEvent.rate
Cheers