playMaker

Author Topic: Unstable trigger 2D event  (Read 1187 times)

QueenM56

  • Junior Playmaker
  • **
  • Posts: 55
Unstable trigger 2D event
« on: June 11, 2018, 11:26:53 PM »
Hi All,

I'm experiencing some problem with trigger 2D event.
I used 3 x 'trigger 2D event' action in one state, the ' on enter' and 'on stay' trigger the same event, when the 'on exist' triggers the other event.
The 'on enter' and 'on stay' work fine, but the 'on exist' is not always working.
Does anyone know what could cause the problem?

Cheers,
M


djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Unstable trigger 2D event
« Reply #1 on: June 12, 2018, 04:17:36 AM »
Hi.

If they trigger the same tags and are on the same state then that is an issue.

If you are using on stay, on enter is not needed.

Place on exit on a different state (for example after the state with on stay trigger)

QueenM56

  • Junior Playmaker
  • **
  • Posts: 55
Re: Unstable trigger 2D event
« Reply #2 on: June 13, 2018, 02:29:14 AM »
Thanks djaydino,
You are right, I did put them in the same state before. After separate  the 'stay' and 'exist', everything works!

Thank you!
M