I made up a C++ ThirdPersonExample project.
I added several ThirdPersonCharacter BP. (TPC BP)
I added a variable to the TPC BP.
I play as one of the TPC BP’s. The other ones are controlled by AI.
In Event Graph of TPC BP, on Event BeginPlay, I want to set a variable if this current instantiated TPC BP is the controlled pawn - ie it’s me playing!
I see that you can set variables.
However:
- I only want to set a variable if I’m
not the Controlled Pawn - I want to also set another variable
if I am the Controlled Pawn.
I may be thinking of this the wrong way…any help appreciated.