How do I change text with 2 list object

Get help using Construct 2

Post » Sun Nov 23, 2014 2:33 pm

hi
i have 2 list object and 1 text object
how do i can change text without using 2 text object

list.PNG


list 1 dont work but list2 work normal
how do i make it to change text from both object.

thanks.
You do not have the required permissions to view the files attached to this post.
B
7
S
1
Posts: 16
Reputation: 561

Post » Sun Nov 23, 2014 3:22 pm

The "Compare selection" events are running all the time because they're simply running a comparison. There are two solutions to get what you're wanting.

1. Add "On selection changed" events(note that this event is a trigger) for each of your lists, then make your existing events -- the "Compare selection" ones -- subevents to the relevant "On selection changed" event. This will make it so that you're only comparing which item is selected when the selected item for the associated list is changed.

2. Add "Trigger once while true" to each of your current events. This will make each event run only when the condition has changed from false to true.
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,116

Post » Sun Nov 23, 2014 5:15 pm

thx :D
B
7
S
1
Posts: 16
Reputation: 561


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 10 guests