Array.At() Return 0 instead of string variable

Discussion and feedback on Construct 2

Post » Sun Jun 04, 2017 11:22 am

Hi guys i have an array call player1 inside are 10 strings, i want to get the value of the string by using the position, but it seems that i can't get the value it return 0 instead of the string. Can anyone help me with this?
B
3
Posts: 2
Reputation: 179

Post » Sun Jun 04, 2017 12:54 pm

Make sure the array size is wide or tall enough (click on array, and set the size)
B
44
S
12
G
1
Posts: 545
Reputation: 4,271

Post » Sun Jun 04, 2017 6:22 pm

I have found out the issue... The issue with my array is i use instance variable instead of Set X to assign my strings

Thanks for replying ome6a1717
B
3
Posts: 2
Reputation: 179


Return to Construct 2 General

Who is online

Users browsing this forum: zenox98 and 3 guests