Blueprint Node Colours

Last I noticed, Ben’s Get Controlled Tank had a green body with no execution control markers, while I have a blue box with these arrows that forces me to connect it to the main execution chain like so:


Is there any way to change that into a standard Get function with a green body, like Get Controlled Pawn?

You need to check how you have declared “Get Controlled Tank” in the .h file of the Player Controller. It should be set to BlueprintCallable.

UFUNCTION(BlueprintCallable, Category = "Setup") ATank* GetControlledTank() const;

I hope this help,

Justin

Privacy & Terms