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"

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. 

Spawn a Actor at given location(s)?

Hey guys, i made this blueprint to try and randomly spawn the actor at one given target point, but it doesn't seem to be working, any suggestions?alt text

Thanks in advance!

Product Version: UE 4.9
Tags:
more ▼

asked Sep 16 '15 at 10:42 AM in Blueprint Scripting

avatar image

Pantlessnoodle
21 15 16 20

avatar image ambhar Sep 16 '15 at 10:48 AM

Have you tried node "Spawn Actor from class" instead of teleport?

avatar image Pantlessnoodle Sep 16 '15 at 10:56 AM

Got it working guys! movable mesh and the begin event were the issue! thanks so much, this community is awesome!

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

2 answers: sort voted first

Sake sure your StaticMesh Mobility is set to "Movable"

alt text

test89.png (7.6 kB)
more ▼

answered Sep 16 '15 at 10:51 AM

avatar image

Mhousse1247
3.5k 152 29 318

avatar image ambhar Sep 16 '15 at 11:43 AM

Oh yes! This one should be the first thing to check when having this problem on moving things in level.

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

You have to use the node SpawnActor to create a new actor. Teleport will move your target to a place. So, here, you just move sparkplug, but no spawning is done.

Also, your event won't be called by the engine, except if you call your function explicitly. When you copy events like BeginPlay, it breaks link with the real BeginPlay event. You should delete the event and create a new one.

Hope it helps.

more ▼

answered Sep 16 '15 at 10:49 AM

avatar image

Begounet
933 32 27 50

(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