Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Warik on April 25, 2017, 12:21:53 AM

Title: Triggering an object to fade
Post by: Warik on April 25, 2017, 12:21:53 AM
Hi
I am using a collision object to trigger another object to fade away.  The trigger works quite well and the object is currently set to fade away over 1 second.  However during the 1 second interval, the Listener is no longer listening, in which time the player can move back out of the trigger and this stops the trigger from working correctly.
Is there any way of making the listener to continue to listen constantly?
Attached is the setup I am using.
Any suggestions would be appreciated.
Thanks.
Title: Re: Triggering an object to fade
Post by: djaydino on April 25, 2017, 03:15:01 AM
Hi,
There are several ways you can achieve this but it depends on what you want.

I made a quick video explaining how to :

Title: Re: Triggering an object to fade
Post by: Warik on April 25, 2017, 05:47:31 AM
Wow, that's fantastic!  Thank you so much for this tutorial.  It is exactly what I was after.  I really appreciate your help.  GetMaterialColor was definitely the missing piece of the puzzle.  Thank you.