How do I use two events to trigger an action

Get help using Construct 2

Post » Tue Mar 01, 2016 5:55 am

I am trying to make a Player collide with an object and by pressing a key to trigger an action.

I have tried making the key is down event a sub-event in a collision event.
B
4
Posts: 10
Reputation: 222

Post » Tue Mar 01, 2016 6:38 am

not as a sub event

they need to be part of the same event. (2 conditions = event) thus


(if key is down
on collision with object) = do event

note you may have to use is overlapping at off set depending on if collision is not constant ( like player bounced off object) Thus is no longer = collision with object.
B
29
S
13
G
10
Posts: 355
Reputation: 8,317

Post » Tue Mar 01, 2016 8:13 am

Thank you, finally someone fix my stupid mistake!
B
4
Posts: 10
Reputation: 222

Post » Wed Mar 02, 2016 7:31 am

no problem, glad it helped you out.
B
29
S
13
G
10
Posts: 355
Reputation: 8,317


Return to How do I....?

Who is online

Users browsing this forum: dop2000, Elliott, Yahoo [Bot] and 70 guests