Runtime Character Switching in Unreal Engine

preview_player
Показать описание
In this tutorial I am going to show you how to switch the playable character in the runtime. There will be 3 characters in the play time and only one of the characters will be controlled by the player while other characters are controlled by an AI which follows the player controlled character. Player can switch to any character and take control any time in the runtime of the game and the character previously controlled and unpossessed by the player will be controlled by an AI controller and continue to follow the player character. We can see the same mechanism in games like dragon age inquisition where player can be switched into any of the available character and take control.

#CodeLikeMe #unrealengine #ue4 #indiegamedev #CPPno
Рекомендации по теме
Комментарии
Автор

Dude, this is the best controller tutorial I've ever seen.

QuaidTseng
Автор

Finally something that worked for me!! Thanks, bro!!

andrelucas
Автор

THANK YOU!! Been looking for something for this!

lordhyle
Автор

this is the exact thing i was looking for, even having the other characters follow you around, didnt think i would be able to find a tutorial on this, thx

TheNarwhal
Автор

This is what I want !! Thank you so much

cqwwten
Автор

This video is increideble, awesome and all I Thank you very much my friend for you Youre the

fischerleo
Автор

Can you do a video on selecting the character in a UI? Like a character wheel? Kind of like what is in GTAV when you switch between those characters.

megtwin
Автор

You Made it bro.
Like. Switching characters in gta5

dhananjaykupekar
Автор

Hey there. Great tutorial. Thank you. Do you know if there is a way to combine features or abilities of one character with another character? I have a complex character already, but it doesn't have a weapon system. Then I have another Character or Pawn that has a great weapon system, but is also complex. Is there a way to make one a Child or Parent of the other, so that you don't need to switch characters? They need to share components and Interfaces etc.

eddielonestar
Автор

Hey, nice tutorial !!
But I am making game from first step, I has player start I can't understood what node connect in this case.
*Please enyone help me!!*

charithsenanayake
Автор

Hello guys so I have a question how do I make the server randomly select a character for players bc I have 2 player characters one of them is a killer and one of them is a normal dude who needs to escape for example.  I have the basic steam advenced session host game / join game logic and it is working and now I need to know how to make the server select one of the connected players as the kill and others as escapees.

Rokyloreq
Автор

How to make character dont collide with each other just run through?

konardkonrado
Автор

Why when i switch to another player animations blocked in air when i jump and i switch to another player he stay in air can you help ?

mohabenz
Автор

Good logic but not sure why you do this in the level blueprint? this is the exact reason we have a player controller. One controller handles input and possesses one character.

connorclose
Автор

Everything is cool, but is there a multiplayer version? No matter how hard I try, I can't do this at all (

ytzvnfv
Автор

Is there a way to make the player's camera transition smoothly from one character to another when switching between them?

AugustRenders
Автор

when i order character to move towards some direction to the point i click to posses otehr character but this previous one i s runing in place any idea how to prevent from possesing while this previous one i still moving? i made delay with checking possition but it cannot be function so there is lot of BP for6 characters .... cant find function that will tell mi if pawn is stnding stil or moving...

konardkonrado
Автор

Hey, can you help me? when i die with one character, then respawn. and then when i switch to my pet fox and then switch back again, it doesn't switch

bowdy
Автор

Every time you switch characters you are spawning a new default controller, this will soon cause a gameplay issue if you were to start scaling up this project into a game. what would be the best way to handle this issue?

cursedbishstudio
Автор

Please create a module for save load etc

aaravmohan