Wondering if anyone can help, new to Construct but not new to programming, which I think might be the problem. In my mind its straight forward, but I cant find what I'm looking for in construct to achieve it.
Basically, I have text object TxtBuildConstructionDrone thats serving as a place holder till I can be bothered sorting graphics.
I'm trying to achieve the following but none of the tutorials match what I want and the ones that comes close are, well, poorly written.
Basically I want the following (pseudo code before anyone says anything);
On TxtBuildConstructionDrone Click
If ResourceMetal is greater than DroneConstructionMetalCost
subtract DroneConstructionMetalCost from ResourceMetal
Start Timer Loop
Each tick update Progress Bar BarBuildConstructionDrone
If timer equals 10
DronesConstruction++
Else
#generate error popup
There can be multiple drones building at the same time, different durations which adds another bit of complexity. Can anyone point me in the right direction on how to achieve this?