Flint Particle System Forum - Is there a way to find out which actions an emitter has?2011-12-12T01:33:02+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
Is there a way to find out which actions an emitter has?http://flintparticles.org/forum/comments.php?DiscussionID=53&Focus=256#Comment_2562008-07-18T11:27:08+01:002008-07-18T12:26:30+01:00Philliphttp://flintparticles.org/forum/account.php?u=44
I'd like a way to find out which actions an emitter is linked to/which actions have been added to an emitter. Especially with actions being added and removed across a period of time to achieve chains ...
Isn't there some array or something in which an emitters related actions are stored that I can iterate & trace in order to see which actions are ... active?
Richard or any other FPS-crack, what's the best way to tackle this problem?
Thanks in advance.
Phillip]]>
Is there a way to find out which actions an emitter has?http://flintparticles.org/forum/comments.php?DiscussionID=53&Focus=257#Comment_2572008-07-18T12:25:37+01:002011-12-12T01:33:02+00:00Richardhttp://flintparticles.org/forum/account.php?u=1
Hi Phillip
The actions are stored in the _actions array in the emitter. This array is protected, so the only way to access it is through the emitter. You could create a custom emitter that extends ...
The actions are stored in the _actions array in the emitter. This array is protected, so the only way to access it is through the emitter. You could create a custom emitter that extends Emitter and adds methods to access the actions.