playMaker

Author Topic: [SOLVED] trigger to play audio just once  (Read 1355 times)

volpygregor

  • Playmaker Newbie
  • *
  • Posts: 5
    • View Profile
[SOLVED] trigger to play audio just once
« on: May 14, 2012, 06: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

« Last Edit: May 14, 2012, 07:09:19 PM by Alex Chouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3634
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: trigger to play audio just once
« Reply #1 on: May 14, 2012, 08: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.
« Last Edit: May 14, 2012, 08:37:48 AM by Alex Chouls »

volpygregor

  • Playmaker Newbie
  • *
  • Posts: 5
    • View Profile
Re: trigger to play audio just once
« Reply #2 on: May 14, 2012, 01:19:28 PM »
awesome .. thanks .. it worked :)