AllObjects

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

RJessop

New Member
Jan 11, 2004
15
0
0
41
Middlesbrough, England
Hi again all.

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.