Float From c++ to BluePrint

Hi, I have a function for start a TCPserver.

UFUNCTION(BlueprintCallable, Category = "TCPServer")
		bool LaunchTCP();

I need to extract a float number from a function and see this number in blueprint.

Anyone can help me?


I don’t know what issue do you have. Just place float argument in function like this, blueprint node automatically adapts to C++ function:

 UFUNCTION(BlueprintCallable, Category = "TCPServer")
 bool LaunchTCP(float MyFloat);

Or else you mean float return value then replace bool with float

This is exactly what I’ve been looking for. It solved very quickly the problem I was having spanish dictionary