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"

SOLVED - move to actor not firing in a swich follow attempt

Hello, this very simple task drivers me crazy

In my level BP I have the following script Basically, I have 2 actors in the scene, let s say a wolf and a girl

When you play the girl, the wolf follows you, when you play the wolf, she stays still.

On Event BeginPlay I set the girl to be possessed and the wolf to follow, it works On F key, I now possess the wolf, nothing else

BUT If I press F key again, it possesses the girl back, and tries to fire a Simple Move To Actor to get the wolf following the girl back

But it doesn t fire, and I can t understand where s the problem since it seems a very simple task.

I ve played around with the controllers but nothing seems to work, any idea ?

Sincerely Yann

alt text][1]

[1]: /storage/temp/63513-screenshot+(2).png

Product Version: UE 4.9
screenshot (2).png (237.9 kB)
more ▼

asked Oct 21 '15 at 03:32 AM in Blueprint Scripting

avatar image

36 2 4 6

avatar image Kinan Oct 21 '15 at 09:34 AM

UP, no idea anyone ? :(

avatar image 1999 Oct 22 '15 at 06:34 AM

"Simple Move to Actor" may not be necessary and its connections. I do not know Blueprint at all but what douse this do "Simple Move to Actor" and its connections do.

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

3 answers: sort voted first

SOLVED !! This might help someone in future :

As far as I understand, a persistant actor has a cotroller defined when created in the level, but, if you possess it, then possess another character Actor, it losses its controller and just ends up being a less controlled pawn.

So, I just created a controller Variable (lets say Wolfcontroller), set it to its self defined controller on begin play (in the LevelBP), then call it in my tick simplemovetoactor function, now it works, the wolf does nt loose its controller anymore.


more ▼

answered Oct 21 '15 at 06:40 PM

avatar image

36 2 4 6

avatar image Enlo Oct 22 '15 at 08:34 AM

BTW you can mark your own questions as solution too :) Your assumtion is correct: Upon unpossessing an Actor, it stays empty, without a controller (like in a horror movie).

avatar image Kinan Oct 22 '15 at 04:00 PM

:) took hell of 12 hours to figure out lol - I like the ghost image (:

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

answered Oct 21 '15 at 10:16 AM

avatar image

3.5k 152 28 318

avatar image Enlo Oct 21 '15 at 10:52 AM

And I think the "Simple move to Actor" needs an AIController besides the NavMesh too.

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

i have a nav mesh, and the problem doesn t come from an AI controller since the instruction works on begin play, the problem comes from switching the character controllers or something like this ...

tried all the controllers combinations, nothing works

more ▼

answered Oct 21 '15 at 04:07 PM

avatar image

36 2 4 6

(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