Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
hi need help i want to add an event that does this:when money is lower lower than 20 do not let player build turret i cannot figure out how to make this work pls help
Develop games in your browser. Powerful, performant & highly capable.
just add the condition to the buy event System/compare variable>20 (this assumes Money is a Global Variable)
Hi thanks for the reply. The problem is in my game the turret is made by just clicking anywhere in the walls.Walls=the area you are allowed to place turrets.And your idea didnt work but pls help me solve this I would really appreciate it.
If you have a variable called money, adding the condition system compare - money>20 to the build event should work.
So for example:
On walls clicked
system compare : money>20
-- build turret
-- subtract 10 from money
but the problem is if i do system compare >20 it wont let med on touch or on click on turret because they are both events
Right click on the event and click add another condition..
yes yes yes it worked thank you so much