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
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
Develop games in your browser. Powerful, performant & highly capable.
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