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. 

Keep pawn crouched when possessing

Hey Gang,

My game has two characters that the player switches between during gameplay. I'm running into a small issue when unpossessing and possessing a pawn. If I crouch the character (using the built-in UE4 crouch functionality) and then unpossess the pawn, when I repossess the character the crouch gets cancelled and they just stand up.

Any thoughts on how to get around this? My current band-aid is to store whether or not the character is crouched in a bool and then run the crouch event when "Event Possessed" is called, but there's an issue with that: If you run the crouch event directly off of the possessed event then it doesn't fire. You can put a 0.0000001 second delay on it, and it'll fire almost as instantaneously as if it were firing directly, but then you end up getting a "standing position to crouching" animation when you switch back to the character which is pretty yucky.

Any tips would be super appreciated.


Product Version: UE 4.12
more ▼

asked Sep 17 '16 at 07:18 PM in Blueprint Scripting

avatar image

6 1 1

avatar image dwtsend Oct 09 '16 at 12:22 PM

Thought I would give this a bump as it's gone unanswered for several weeks.

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

2 answers: sort voted first

I am also having this issue in 4.14.3, any help with it?

more ▼

answered Jan 29 '17 at 02:05 PM

avatar image

6 2 3 3

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

AI controller fires Uncrouch on Possessed. Only way to fix it is not using the built-in UE4 crouch functionality. It's usually a bad thing. Just create custom variable and bind your animation and logic to it.

more ▼

answered Aug 07 '18 at 12:39 PM

avatar image

849 31 13 47

(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