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"

Laser doesn't work when Spawned AI

I have a simple laser system made like this:

https://www.youtube.com/watch?v=SccSLUk1l2A

I made an enemy that is able to manipulate the two endpoint actors of the lasers. It works if I just place the enemy in the level directly.

However, when I use spawn AI from class, the enemy moves around and is able to move the endpoint actors (I tested by putting visible spheres on them) but the laser particle that's supposed to be in between those actors are not there.

What could be the difference here?

Product Version: UE 4.12
Tags:
more ▼

asked Jan 17 '17 at 05:24 AM in Blueprint Scripting

avatar image

boogerton
33 2 5 7

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

1 answer: sort voted first

You need to set spawned ai and set it dynamicly to source/target for your particle. Are you doing this? If yes can you provide some screenshots of your script?

more ▼

answered Jan 17 '17 at 10:49 AM

avatar image

JaroMast
355 31 21 40

avatar image boogerton Jan 18 '17 at 05:19 PM

Hmmm, setting source and end of a built in emitter doesn't work at all. I'm reverting to manipulating the actors and just making the enemy camp in the level.

thisworks.jpg (296.7 kB)
thisdoesntwork.jpg (249.7 kB)
(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