0 Favourites

How do I fix this?

  • I am doing a game that is based on that with a number of points you can create a troop the error that I have is that the troop can be created without the amount of necessary points that I can do?

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Add a condition to the action in which troops are purchased which checks to see if the player has enough points. If the points are stored as a variable, they can be compared using System > Compare variable. If they are stored on an object's variable, you will have to use Object > Compare variable.

    Make sure it checks if their points are greater than OR equal to the cost!

    Good luck - if you have any problems make sure to post your capx - it makes it a lot easier to see what you mean and how to fix it

  • Add a condition to the action in which troops are purchased which checks to see if the player has enough points. If the points are stored as a variable, they can be compared using System > Compare variable. If they are stored on an object's variable, you will have to use Object > Compare variable.

    Make sure it checks if their points are greater than OR equal to the cost!

    Good luck - if you have any problems make sure to post your capx - it makes it a lot easier to see what you mean and how to fix it

    I'm new at this I'll try to see

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
175 32,627
clifton11221's avatar
clifton11221
Unread hot topic
99 10,130
karshinkoff's avatar
karshinkoff
Unread hot topic
98 7,593
norum82's avatar
norum82