x

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"

Spawning enemy help

Hi guys so im trying to spawn a enemy spider at a specific location when my character overlaps with a box trigger. My problem is that when i play the game, i can see on the world outliner to the right that it does spawn yet i can not see it. Im also getting a error/warning while playing in the editor but i dont really understand where the problem is.

alt text

This is the blueprint for spawning the enemy called spider grunt.

alt text

This is the error I am getting.

If you need anymore information just let me know.

Any help would be greatly appreciated, thank you.

Product Version: UE 4.16
Tags:
help-ue4-4.jpg (71.9 kB)
help-ue4-5.jpg (41.6 kB)
more ▼

asked Nov 21 '17 at 12:51 AM in Blueprint Scripting

avatar image

OniricMaster
19 1 2 7

avatar image OniricMaster Nov 21 '17 at 01:49 AM

Ok so ive managed to get it to work if i change the location and set it to the actual box collision. So the spiders spawns in the trigger.

alt text

Any ideas why this only works when the location in set to the actual box collision? I really need the enemy to spawn in another location. Thanks.

help-ue4-6.jpg (57.4 kB)
avatar image Vaheva Nov 21 '17 at 02:53 AM

Post this part, where you compare integer - here is error. On your screen this part is missed. And error is about compare integer.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Thank but i just realized what i was doing wrong. Damm i feel like an idiot.

more ▼

answered Nov 21 '17 at 03:25 AM

avatar image

OniricMaster
19 1 2 7

(comments are locked)
10|2000 characters needed characters left
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