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"

[Closed] How could I press a key (i.e. 1) and be able to possess another pawn in the level?

Hi,

What I would like to do is make it so that if a player presses a key (ie. 1) it would possess another pawn in the level. What I thought up (I'm new to UE4, so I'm not sure if this even works) is that when the player presses 1 it would change the player controller to 2, and my other pawn would have that player controller assigned to it. What would be a way of doing this? I understand that what I'm doing could very likely not work, so if possible provide a solution to how I would work around this.

Thanks!

Product Version: Not Selected
Tags:
more ▼

asked May 03 '14 at 11:29 PM in Blueprint Scripting

avatar image

jfaztk
326 45 62 72

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

The question has been closed Feb 10 '18 at 08:54 PM by jfaztk for the following reason:

Duplicate Question


2 answers: sort voted first

Player Controller is generated for each player in the game and it's interface between player and game world. So instead of change player controllers you would switch pawns in the with Possess node

more ▼

answered May 04 '14 at 01:44 AM

avatar image

Shadowriver
35.2k 921 166 1098

avatar image mightyenigma Feb 10 '18 at 08:17 PM

Possess is a server only playercontroller function.

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

There's three examples of this in the "Blueprint_Input_Examples" level under the "ContentExamples" project. : )

more ▼

answered May 06 '14 at 02:07 PM

avatar image

zenoxe
21 3 6 8

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

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question