If x + y + z etc = true then do X

Hi guys, ok so basically i have 5 Objects that can be picked up, as they are picked up the actors are destroyed,how do i make it so after all 5 are collected then something happens. eg. If all 5 are collected and the conditions are met then quit game.

You can add integer variable = 0. And with any new collected item, you add 1 to the value (using the node int + int) . And also check if it is 5 or still less, if 5 then do whatever you want.

-m

Ah nice thanks dude gonna give this a look into and see what i can do! Il get back to you and tell you how it went XD

Looking forward to hear back, if it was not clear, lemme know, I can build it 4u while working :wink:

-m

That would be great man, your knowledge is mighty please teach a pleb like me :smiley:

No worries :slight_smile: we all learning everyday :slight_smile:

Is that clear? I wrote some comments for you.

-m

Thanks a lot bro, il get back to you, still trying to get my head around this XD

YES! got it working man, you rock! thanks ever so much!

Sweet :slight_smile:

-m

Don’t forget to mark the question as answered (green colored).

-m

Done! Once again thanks man!