How do I type "through" as an expression

Get help using Construct 2

Post » Wed Feb 24, 2016 9:03 am

such as 1 through 30, my brain thinks 1-30, but construct will think I mean minus.... I looked through the manuals several times and didn't see it, sorry if I missed it
B
4
Posts: 9
Reputation: 218

Post » Wed Feb 24, 2016 9:59 am

Did you mean repeat? Do you want to repeat something 30. times?
B
24
S
3
G
1
Posts: 451
Reputation: 2,165

Post » Wed Feb 24, 2016 10:00 am

no for a variable comparison, if x = any value that is between 1 and thirty
B
4
Posts: 9
Reputation: 218

Post » Wed Feb 24, 2016 10:06 am

In System ,compare two values. Make two events x>=1 and x<=30.
B
24
S
3
G
1
Posts: 451
Reputation: 2,165

Post » Wed Feb 24, 2016 10:08 am

Sorry, I should have been more specific, the value is in an array.
B
4
Posts: 9
Reputation: 218

Post » Wed Feb 24, 2016 10:19 am

For a 1-Dimension Array with values in the x-axes

Code: Select all
Array| for each X element.
      System|array.CurValue >=1      -> Do something.
      System|array.CurValue <=30
B
24
S
3
G
1
Posts: 451
Reputation: 2,165


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Shenkai the ssj and 24 guests