How could I create an object from an class?

  • 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.

godzzo

New Member
Jun 17, 2001
10
0
0
48
Budapest
Visit site
How could I create an object from an class?

I inhereted an Object:
class SF_GD_BaseAIController extends Object;

I try to create from SF_GD_BaseAIController to an object:

class SF_GD_TeamGameReplicationInfo extends SFTeamGameReplicationInfo;

var SF_GD_BaseAIController objController;

function Test()
{
objController = SF_GD_BaseAIController(
DynamicLoadObject("SF_Godzzo.SF_GD_BaseAIController", class'Class')
);

if (objController == None) Log(Self $ "objController is None");
}

But the objController is None!

:( :eek: :)