Dropping more than 1 amount of item as 1 actor

Hi , i am new in unreal engine 5
like mostly i watch youtube to learn what to do so now you know how lvl my expert is

I wanna drop a 3 amount of ( item ) in a 1 mesh or actor of that (item)
how to do it ?

problem : if i drop 3 at once it drop 3 actors i only want it to drop 1 actors contain 3 amount of that item



this is the function to drop all



this is the function to drop by amount

this is spawn item function

i hope you understood me

Hey @K2RaMXawsome!

I don’t need to look through all of this, knowing what I do on how to do it.

On your spawnable actor, make a “Quantity” integer variable. Then make it public and “Expose on spawn” (Click the variable and select these in the details window)

Now, when you hook that class into spawn actor, it should grant you a pin to input an amount (integer) to set that variable to. Now you have an AMOUNT for use with the rest of your UI! :slight_smile:

Hope that helps!

Oh, now i got it

it seems work fine because its only dropping one thing now insted of multi dropping

yet my rest of codes seems to designed to drop 1 by 1 so i need to fix it

however

ty so much bro it really helped

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.