How do I make an item do not destoy if X happens [solved]

Get help using Construct 2

Post » Sun Jul 26, 2015 10:09 am

So. I am making the health code of the game. Actually I have set a 3 framed health hearts such as if you lose 1 hp you have 2 remaining and so on.

I've made an item that replenish one heart when the player collides with the item and then destroy it but I wanna make it that if HP is =/> 3 not to destroy the item.

Can't seem to figure out a way to do it. I know is an easy thing but my lack of experience is not helping.

Thanks
Last edited by Smileh on Sun Jul 26, 2015 10:20 am, edited 1 time in total.
B
14
S
5
Posts: 248
Reputation: 1,705

Post » Sun Jul 26, 2015 10:11 am

Should be as simple as adding the HP < 3 condition to the destroy event..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Jul 26, 2015 10:20 am

You're totally right. Somehow I think things are harder than they're and I stop thinking.

Sorry for the dumb question and thanks for the answer. It worked like a charm!
B
14
S
5
Posts: 248
Reputation: 1,705


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 12 guests