Out off Ideas...

You did it before I could edit, sorry. Remove the begin end overlap,

so i remove the begin and overlap ? or you just mean the end overlap?

Ok, so you are attaching it the weapon itself.

What you need to do it reference that BP, back to the player so the program know what you are picking up.

BUT, get all your weapons and reference that with an array. SOOOO much easier.

:c could you pls make and example ?

How you mean with arrays? Never done something with them :confused:

Been there, had the same headache

An array will hold a huge bunch of info that is the same. INT, BOOLS, WEAPONS, etc.

I doubt you could write a game in UE4 without out an array.

It will take a second or 50 for me to write it up correctly

Give me a second, and I will show what I use them for my use and hope it helps.

What you do, is you can add multiple item to 1 Variable, but able to pull number 52 out, or number 3.

This is a little old school, but there are new ways of adding which makes it easier. Check UE4 tutorial, the endless runner explains an easier way.

The example I am using, uses a Structure, but that only allows different data, but the array is that same.

That looks … interesting but very hard :confused: tyvm for your help, ill look at arrays now. Maybe i find a way to do this with them :slight_smile:

So you get many data and put it in to one variable.

See the LOOP, to ???

That means you have 0 - which is one to what ever you want of the same.

So in the occasion, I could pull number 12 out of that,

This is done like this.

The Counter number is just the one I am looking for.

Different array, but that same in this post.

You can make an array of your Weapon BP.

Will work the same, then you have an exact reference to what weapon you have

ahh ok :slight_smile:

do you know how to make an easy … inventory ? Theres and example project but thats a way to hard for me :confused:

Wait, you said with that array i could make a array of my wep bp ? so i only need to change some things ?

Only started 4 months ago, and have learnt alot in that .

I little research and question get you along way.

You tube solved a lot, but then you get into enough that you need to asks some bizarre questions, every program is different and everyone wants something different,

That is what makes it.

I have done about 15-20 different programs, all trying to learn something new.

As you can see by my post have asked alot and got a lot of answer.

My only suggestion, like all business, have it down on paper before you go ahead. Headaches otherwise.

Ok tyvm :slight_smile: I try to learn something about arrays now ^^ i hope it isnt soo hard like it looks .

thx for your help and for your :slight_smile:

it is not, really simple than you think/

look for the nodes

GET

ADD

REMOVE

REPLACE

if you get stuck, just post why