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!
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!