Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to drop item from Monsters without adding to scene?

Hey guys,

I am making RPG game that has a lot of custom and premade items with blueprint base class. (ex: MyBaseItem(c++)>WeaponBaseItem(c++)>WeaponItemBP>SteelLongSwordBP)

I wanna drop SteelLongSwordBP item when i kill the monster. But it is just an example. Item that drops from monster will be random item in my asset folder. It can be Steel Long Sword BP, Rusty Dagger BP, Lumberjack's Axe BP, or Rusty Chain Mail BP.

I was Unity developer and i can do these easily in Unity. But I did not found anything about that in Unreal Engine. All tutorials i saw on web has items already added to scene by manualy.

1-) Is Manual adding items to scene the only thing that i can do? 2-) Should i add All my items to somewhere that is not seen in game and referencing from there to monster loot by using Hide/Show Actor? And is it good way to do it? (assume that I have between 200-400 item)

Thank you guys :)

Product Version: Not Selected
more ▼

asked Sep 11 '15 at 11:14 AM in Blueprint Scripting

avatar image

7 7 5 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Oh not at all.

You can just spawn the item via "Spawn Actor from Class".

All you will need is an array of all possible drops in your monster (or a more sophisticated system but like something that selects what will be dropped) and then spawn them like this.

I hope that already helps. Otherwise just ask away!


more ▼

answered Sep 11 '15 at 01:17 PM

avatar image

5.9k 291 86 293

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question