Private variables

For questions about using Classic.

Post » Tue Mar 19, 2013 1:24 pm

Hi, i need this: I have 4 private variable and i need when private variable1 is smallest do actions, and when private variable2 is smalest do actions.... Pls how to?
B
24
S
4
G
2
Posts: 318
Reputation: 2,446

Post » Tue Mar 19, 2013 4:18 pm

There are ways to do this, you can use compare private variables or evaluate.
v1 = min(v1, v2, v3, v4)
   -> do action 1

v2 = min(v1, v2, v3, v4)
   -> do action 2

B
7
S
2
G
1
Posts: 21
Reputation: 692

Post » Fri Mar 22, 2013 9:15 pm

THX :)
B
24
S
4
G
2
Posts: 318
Reputation: 2,446


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests