Pick by comparison - looking up booleans

Get help using Construct 2

Post » Fri Aug 19, 2016 1:03 pm

Hi everyone,

Image

I want to launch a bullet at some markers by repeatedly calling this function.
Shouldnt this build a self-reducing list of markers, of which the first one is being shot at?

The setting or picking by boolean doesnt seem to work
B
15
S
7
Posts: 243
Reputation: 2,063

Post » Fri Aug 19, 2016 1:52 pm

You are testing the boolean against the "false" string litteral, which can never be true. Replace "false" by 0 and it should work as expected.
B
76
S
31
G
27
Posts: 1,015
Reputation: 20,790

Post » Fri Aug 19, 2016 7:48 pm

@Magistross Good call, thanks!

I found that I also needed to reduce the list to only the first pick manually, cos I was making a list and disabled all entries in the first call.
Used an additional 'Pick instance 0'.

Working now, cheers!
B
15
S
7
Posts: 243
Reputation: 2,063


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 7 guests