Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: volpygregor on May 14, 2012, 09:51:39 AM

Title: [SOLVED] trigger to play audio just once
Post by: volpygregor on May 14, 2012, 09:51:39 AM
Hi there, I m new to playmaker.
I have a box that triggers a guitext and a sound . I created two events (exit and enter).
everything works great. My question : is it possible to the trigger to be activated just once?  i mean if the character collides the box a second time nor the gui nor the sound would be triggered again.

Cheers

Title: Re: trigger to play audio just once
Post by: Alex Chouls on May 14, 2012, 11:35:59 AM
Sure. See attached screenshot.

Basically you can transition to a state that no longer responds to trigger events, and/or de-activate the GameObject.
Title: Re: trigger to play audio just once
Post by: volpygregor on May 14, 2012, 04:19:28 PM
awesome .. thanks .. it worked :)