Hi guys, I am developing a tactical rpg and I want to use the combination of the GAS and the new Enhanced Input System. The problem I have is that whenever I try to possess other character my GAS system stops working. On top of that my setup only works if I am writing the function on the BeginPlay. Is there anyway to setup the gas/input to work properly OnPossess and when I change characters? Thanks!
Add the mapping context where I commented “here”
void APlayerCharacter::PossessedBy(AController* NewController)
{
// here
}
You can switch the name of the player character.
Hope this helps
Thanks for the response, but it doesnt work. The problem is not with the Enhanced Input System but with the GAS, if I try to print something on screen it works if it is not a gameplay ability, I tried that before.