playMaker

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

volpygregor

  • Playmaker Newbie
  • *
  • Posts: 5
[SOLVED] trigger to play audio just once
« 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

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

Alex Chouls

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

volpygregor

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