playMaker

Author Topic: [Particle] Particle System Is Alive Bridge  (Read 2013 times)

dudebxl

  • Hero Member
  • *****
  • Posts: 602
[Particle] Particle System Is Alive Bridge
« on: April 11, 2015, 01:18:58 PM »
check if any particle is active in scene and set bool/send event

Similar to Particle System Is Alive (http://hutonggames.com/playmakerforum/index.php?topic=10077.0) but much more general (less control).

Update: action + updates are on ecosystem or https://snipt.net/dudebxl/

hope it helps..
« Last Edit: May 31, 2015, 05:15:42 PM by dudebxl »

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: [Particle] Particle System Is Alive Bridge
« Reply #1 on: April 11, 2015, 10:28:49 PM »
Small update

 - Added a 'everyframe' option (works when events are all off or one event is off so can work as a 'did bool change - send event' if wanted)

- Due to everyframe, the method used should not be used called every frame if you have many gameobjects in scene so optimization option is available. Everyframe becames every 15 frames, more of a hack, hopefully helps but if you any opinion on this, please let me know.

- Also added 'LateUpdate'.
« Last Edit: April 12, 2015, 12:20:38 PM by dudebxl »