playMaker

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

QueenM56

  • Junior Playmaker
  • **
  • Posts: 55
    • View Profile
Unstable trigger 2D event
« on: June 11, 2018, 08: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: 3380
    • View Profile
    • jinxtergames
Re: Unstable trigger 2D event
« Reply #1 on: June 12, 2018, 01: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
    • View Profile
Re: Unstable trigger 2D event
« Reply #2 on: June 12, 2018, 11:29:14 PM »
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