How do I check if a variable is negative

Get help using Construct 2

Post » Thu Sep 04, 2014 4:00 pm

currently, i have a money system, but it is very simple and not impressive. i want to make it so that if the variable is equal to or less than -1500, it seems i have set it up right but the message i have pop up doesn't show on screen

the project file is bigger than 2mb, so i have to upload it somewhere
https:// copy. com/ug1FaHg14uCZ (remove spaces)
B
5
Posts: 17
Reputation: 257

Post » Fri Sep 05, 2014 2:55 am

Have you tried with an "else" statement?
B
20
S
4
Posts: 385
Reputation: 2,270

Post » Fri Sep 05, 2014 8:41 pm

Simple, go into the event editor, System > compare variable. Choose the variable you'd like to compare and what to compare it to.
B
13
S
2
G
1
Posts: 47
Reputation: 1,211

Post » Tue Sep 09, 2014 6:32 pm

@ryanhagz yea, i got it. for somehow i was doing it wrong
B
5
Posts: 17
Reputation: 257


Return to How do I....?

Who is online

Users browsing this forum: darkrealos, DharmaOne and 16 guests