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
13
S
5
Posts: 218
Reputation: 1,721

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
69
S
28
G
24
Posts: 977
Reputation: 18,739

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
13
S
5
Posts: 218
Reputation: 1,721


Return to How do I....?

Who is online

Users browsing this forum: Lancifer, nahima and 13 guests