How to call function inside string

StringFunction = “Myfunction()”

Then how do I call a function of that name??
StringFunction .CallFunction()

Something like that??

I could make an actor for each button, and spawn it because I am trying that bind a funtion to a button…

What are you trying to do exactly? Why do you want a function to be a string?

I want to hold a function name in a string to then call it… : P is it possible?

As far as I know, there’s no way for UDK to do that. I think you would have to make a list of all of your functions and make a big ugly switch statement:

function CallFunctionFromString(string FunctionName)
{
    switch(FunctionName)
    {
        case "Function1":
            Function1();
            return;
        case "Function2":
            Function2();
            return;
        case "Function3":
            Function3();
            return;
        ...
    }
}

aha ok …

You can use SetTimer(0.01,false,‘YourfunctionName’).