funcName Function

Retrieves a string that contains the current function context.


str funcName()

The name of the method that is executing this method.

If execution is currently within the member of a table or class the name of the method is prefixed with the name of that table or class.

static void funcNameExample(Args _arg)
{
    print "Current function context is " + funcName();
    pause;
}

Community Additions

ADD
Show: