How do I add the local value of one to another instance?

0 favourites
  • 2 posts
From the Asset Store
Ludo Local Multiplayer board game can be played by 2 to 4 players
  • User points an object via pathfinding towards a designated area. In this area a max amount of 20 smaller objects are present. When the pathfinding object arrives in the area, 10 of the 20 objects move towards the main object and 10 should get added to the main objects variables. The area should then substract 10 from its local variable indicating how many smaller objects are present.

    Ive tried several ways of making this work, but I cant seem to get it. The values never balance out. What would be the best way of dealing with this scenario? I hope its clear

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Not really clear. A capx would help, otherwise we have to re-create it from scratch. Can you post what you've tried?

    So the main object has one instance variable? (you mention 'the main objects variables', plural)

    How does an 'area' have a variable? And do you really mean local variable, or instance variable?

    Help us to help you.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)