playMaker

Author Topic: Help with Load level  (Read 1188 times)

Automageddon

  • Playmaker Newbie
  • *
  • Posts: 5
Help with Load level
« on: November 13, 2016, 07:22:01 AM »
I have an issue changing from scene 1 to scene 2.
I have a trigger event is scene 2 that works perfectly if I start from Scene2, but if I arrive to scene 2 after scene 1, the trigger doesn't trig.

Here are more info.
Scene 1:
Player walks into a trigger, sets time to 0, starts a conversation, conversation finished, time to 1, load level number.

At this point, scene 2 is loaded, player is at the right location (I'm using a prefab that includes sprite, movement and a few variables) but when walking over a trigger nothing will happen.

However, if I start directly from Scene2, the trigger works perfectly.

Any idea on what I'm doing wrong?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Help with Load level
« Reply #1 on: November 18, 2016, 02:22:54 AM »
Hi,


likely because you start the scene inside the trigger do the ENTER is never called.

can you check that your collision is not intersection at the time of load?

Bye,

 Jean