funcName Function

Retrieves a string that contains the current function context. If execution is currently within the member of a table or class, the name of the method is prefixed with the name of that class or table.


str funcName()

The name of the method that is executing funcName.

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

Community Additions

ADD
Show: