How do I cancel a Build Order??

0 favourites
  • 5 posts
From the Asset Store
Isometric Stategy Roleplay Game Building and Streets Pack.
  • im working on a tower defense in construct 2.. and i want to put some kind of cancel if the player change their mind to build the tower.. i currently have it set up like this:

    On Right button clicked ---> Tower1 Destroy

    Is Build

    it does the job on cancelling an order but after that i cannot build anymore tower..

    here is the project file im working on:

    h*t**t*p*s://drive.google.com/file/d/1SKL2KcWoSoU8N7sefao-XLuuONtGlleR/view?usp=sharing

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You didn't reset InHand, it's still 1.

  • You didn't reset InHand, it's still 1.

    yes i did sir.. its set to 0 again when i place the tower to the towerbase..

  • But you aren't placing the tower - you cancel the place. Add Set InHand to 0 after Tower1.Destroy - you'll see it works again.

  • But you aren't placing the tower - you cancel the place. Add Set InHand to 0 after Tower1.Destroy - you'll see it works again.

    that was pretty stupid of me.. its getting harder to keep track of variables i have put.. (but i guess it gets easier as you do this more) anyway thank you very much for your help sir, wasting your time on this.. haha..

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