can you lend me a hand ? "DEBUG"

For questions about using Classic.

Post » Sun Apr 14, 2013 4:58 pm

https://www.dropbox.com/sh/zw4d72ijkl68mle/1Db7FWWqun

Hi this really bug me.

Balance Layout:
challenge text = 1 answer required, =2 ans required, =3 ans requierd
ans text = current answered
LRB text = 1 = make left side heavier
           2 = make right side heaiver
           3 = balance the seesaw
Objective Group:
   1. the bug is in the objective group there are times it adds more than 1 pts to ans.

Memory Layout
Answer Group:
1. There are times when the system is creating an object it does not go to the location I assigned.
2. Question: {"me","you","we"} im not sure about this but is index0="me" index1="you" index2="we" ? then this is the right syntax {"me","you","we"}@random(2) ? because random(2) = 0,1,2 elements becuase the array contains 3 elements.

Im still debugging this but I need to move on on this part.

THANK YOU :)
B
5
S
1
Posts: 20
Reputation: 690

Post » Sun Apr 14, 2013 8:40 pm

Arrays in Construct Classic are one based so the correct syntax would be:
{"me","you","we"}@(random(3)+1)
because random(3)=0,1,2

I'm not sure if that fixes your issue but it should help.
B
79
S
24
G
54
Posts: 4,750
Reputation: 40,763


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests