Problem with scenehopping

BasGoodboyBasGoodboy Member, PRO Posts: 310
Hello all,

So basically, I have 2 scenes.

On a button on scene 1 u go to scene 2 where a shop is.
I made things like this in the shop:

When u click a button 'buy gloves', go back to scene 1, spawn actor 'gloves'.

Of course there are much more rules, but these are the basics I used..

Problem is, you do get back to scene 1 when clicking 'buy gloves', but the actor gloves doesnt appear in scene1.

How can I make an actor appear in an other scene then the scene you are in at that moment?

Please help,

Grtz,

Bas.

Goodboi Gamestudios | Monster Jumper now on the App Store

Comments

  • FallacyStudiosFallacyStudios Member Posts: 970
    Make sure you are using global attributes and not scene attributes. Also make sure that whatever the attribute is for the gloves being purchased is being changed prior to the scene changing.
  • BasGoodboyBasGoodboy Member, PRO Posts: 310
    It works now. Thanks, forgot the whole attribute thingy, made an integer for 'HeroInvolvement', with on each new integer an other actor (like gloves), above the original actor (hero).

    Goodboi Gamestudios | Monster Jumper now on the App Store

Sign In or Register to comment.