How do I create arbitrary instance ?

Just started using Construct 2? Post your questions here

Post » Sat Apr 18, 2015 4:45 pm

Manual:
Instance variables
Pick highest/lowest
Pick the single instance with the highest or the lowest instance variable value of all the instances. Note this still only picks a single instance even if multiple instances have the same highest or lowest value; in this case an arbitrary instance is selected
.

So how to do it - among instances with highest Variable1 pick the one with highest Variable2 ?
B
10
S
3
Posts: 25
Reputation: 709

Post » Sat Apr 18, 2015 7:06 pm

B
66
S
24
G
7
Posts: 1,515
Reputation: 11,041

Post » Sat Apr 18, 2015 8:17 pm

Thats fantastic trick! asking to pickup any instance with highest number, remember its value and series of sortings - 1)comparing with the value 2)pickup highest (at last !)
thanks korbaach, it was great!
B
10
S
3
Posts: 25
Reputation: 709


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 6 guests