(Asking this again because the format of my post yesterday made it impossible to read, and couldnt see an option to edit or delete it)
Hi all
To summarise, i have been using C++ to be able to use the “double” variable type as a node in blueprints, but i have very little experience with C++
This is an example that allows me to add 2 strings together to get numbers larger than what a float or int would.
FString UUE4KitMathBPLibrary::Add_DoubleDouble(const FString& A, const FString& B)
{
double A_double = FCString::Atod(*A);
double B_double = FCString::Atod(*B);
double C_double = A_double + B_double;
return UUE4KitMathBPLibrary::DoubleToString(C_double);
}
However i need to use branches in my BP to activate some things in game, how would i create a >= node that has a bool as a return value? Ive spent hours trying to manipulate the code shown but to no avail, and i have no idea where to start looking online.
Or if there is another way to use a branch type function without using bools, that would be useful too (the branches will be used to check if a variable is greater than or equal to another variable)