How do I pull a value from y based off of x position.

Get help using Construct 2

Post » Tue Mar 17, 2015 12:00 am

Beautiful. Thank you @beufreecasse so much for having the patience to help us here.
I must not fear. Fear is the mind killer.
B
10
S
1
G
1
Posts: 22
Reputation: 966

Post » Tue Mar 17, 2015 1:03 am

So, now when I use the ID in the first column, then select the next column over to retrieve the name "Longsword" it is returning a value of 0 and not the string. My variable is set up for a string, and I know I'm calling it right.


spr_player -> set currentWeapon to arr_playerWeapons.At(arr_playerWeapons.IndexOf(spr_equipWeapon.AnimationName), 1)

currentWeapon is a string variable.

What am I doing wrong here?
I must not fear. Fear is the mind killer.
B
10
S
1
G
1
Posts: 22
Reputation: 966

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 15 guests