playMaker

Author Topic: Two global events are interfering  (Read 374 times)

AllyAhAlyas

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Two global events are interfering
« on: April 03, 2020, 11:37:24 AM »
Plaessse help I have to global events sent to same game object.

Each one is defernt global event "upgrade to lv2" and "upgrade to lv3",

And each one is added to defernt states,

When I send the event to "upgrade to le2" it sent to both states.

First send works well but at the second time it is sent to both states


No errors are appearing when the event is sent.
But It is not working at the second time due to iterfering.

How can I solve this problem.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4968
    • View Profile
    • jinxtergames
Re: Two global events are interfering
« Reply #1 on: April 04, 2020, 12:39:31 AM »
Hi.
Maybe they are send at the same time.
if so, that will not work well.

Maybe you can use a int and only 1 event.

SO 1st do 'Set Fsm Int' Then 'Send Event'

Then have a int switch or int compare to upgrade to the correct level.