Store the function as string pointer and use the engine function (forgot name atm^^) to call it directly via the stringname.