How to pick projectile from Familly

Get help using Construct 2

Post » Thu Jun 25, 2015 6:33 pm

Made a family with all my projectiles . but i´m having trouble picking the projectile i want to use
I´v changed one of the examples to illustrate my problem.
https://dl.dropboxusercontent.com/u/96722209/EXAMPLE_8%20direction%205%20(shooting%20bullets).capx

The "pick Bullet" condition does not work in this situation (if enabled the player wont shoot at all)

Thanks
working on Rally Racing
B
8
S
1
G
2
Posts: 48
Reputation: 1,076

Post » Thu Jun 25, 2015 6:41 pm

You can't specify what to spawn. Either add code to shoot the bullet you want, or you can look up the NickName plugin, that has been referenced many times to deal with this.
Pick only picks bullets that exist already. None do at the beginning, so the spawn code never runs.
ImageImageImage
B
71
S
21
G
231
Posts: 3,695
Reputation: 129,366

Post » Thu Jun 25, 2015 6:52 pm

Oh! thanks, so i´m not mad, just don´t know shit.
I´v used families extensible in other situations this one was driving me mad.

So instead I´ll make a family with weapons (each with is own bullet type assigned) then I can pick the weapon instead.
working on Rally Racing
B
8
S
1
G
2
Posts: 48
Reputation: 1,076


Return to How do I....?

Who is online

Users browsing this forum: Sup with that? and 50 guests