How do I set index " instance variable"

Get help using Construct 2

Post » Tue Jul 26, 2016 2:46 am

how to i Set selection item from list using Instance Variable from Sprite

Mouse | On Right Button Clicked on Sprite | list | ""Set item Sprite.Red"" <--- this not work

The Sprite have instance Variable Name Red / Type Text

The List :
System | On start of layout |----->
Add item "BLue" at Index "0"
Add item "yellow" at Index "1"
Add item "Red" at Index "2"
etc etc
B
17
S
7
G
7
Posts: 205
Reputation: 5,335

Post » Tue Jul 26, 2016 3:38 am

Are you trying to change the value of the Sprite instance variable on a right mouse click?
B
28
S
10
G
10
Posts: 97
Reputation: 6,584

Post » Tue Jul 26, 2016 3:50 am

@makotto
im trying to change set selection from list using instance variable from sprite
B
17
S
7
G
7
Posts: 205
Reputation: 5,335


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 20 guests