Question about gamemode and defaults being specified

When you point at a node the description will show you the “target” that the node resides in which is GameplayStatics.

You could make a BlueprintFunctionLibrary and do the GetPlayerCharacter and Casting here and call this function anywhere for your convenience.