Hi again all.
I am having trouble using the AllObjects iterator in the runtime edition of the engine:
Is that the correct usage? Could it be a problem with the Runtime, or am I just missing something ridiculously simple?
Cheers, Rob.
I am having trouble using the AllObjects iterator in the runtime edition of the engine:
Code:
function ProcessMenu(SMsg sTok)
{
local FYP_Interaction MenuTarget;
foreach AllObjects( class'FYP_Interaction', MenuTarget )
{
//Load the new menu
MenuTarget.LoadNewMenu( sTok.sArgs[3] );
}
}
Is that the correct usage? Could it be a problem with the Runtime, or am I just missing something ridiculously simple?
Cheers, Rob.