on collision: pick/don't pick object

For questions about using Classic.

Post » Wed Feb 25, 2009 6:58 pm

New event>system>on collision (advanced) gives the option "pick object A" or "don't pick".

What is the meaning of pick and don't pick?
B
16
S
5
G
7
Posts: 599
Reputation: 5,000

Post » Wed Feb 25, 2009 7:04 pm

"Pick" means that the instance will be selected for actions... "Don't pick" means that the instance won't be picked; instead, the action is carried on all instances of the object.

For example, if you want the instance to bounce on collision, if "pick", only that instance will bounce, if you "don't pick", all instances of the object will bounce even if they aren't colliding.
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Wed Feb 25, 2009 7:13 pm

[quote="Mipey":2exwzqvk]
For example, if you want the instance to bounce on collision, if "pick", only that instance will bounce (...)[/quote:2exwzqvk]

And in the Event or Action I could tell the collision-event which instance to pick, for example with a private variable?
B
16
S
5
G
7
Posts: 599
Reputation: 5,000

Post » Wed Feb 25, 2009 7:25 pm

Sure.
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Wed Feb 25, 2009 7:29 pm

Thanks.
B
16
S
5
G
7
Posts: 599
Reputation: 5,000


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests