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"

Loot Spawn System - Can't stop Item from continuously spawning

Hey Unreal Engineers,

I am trying to make my own Loot Spawn System. Currently I've finished the random item picking and spawning (nothing polished yet). Problem is I can't manage to find a way to disallow the System from spawning items continuously on the same spot.

More specifically, I want the Spawner to "trace" the first, existing object/item (collision-wise) in the Target Point, so as not to allow another (2nd, 3rd and so on) one spawning. When the player picks up the item, the system will spawn the next random one.

I have searched the net but haven't find anything :/ If you do know a solution please do link it over here. Thanks for your time


Product Version: UE 4.10
more ▼

asked Dec 04 '15 at 09:12 PM in Blueprint Scripting

avatar image

11 1 3

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

1 answer: sort voted first

You could use a Branch node that is dependant on a Bool variable that is set when the item is spawned and then have the Bool be reset during your item collection code.

more ▼

answered Jun 06 '16 at 02:25 AM

avatar image

95 8 10 12

(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