So Basically I added:
To my game info and I've been getting this error in my log file, the problem, specimens do not move because their controller class does not possess the pawn because it doesn't have access to Game. How would I go about fixing this?
Code:
Class FDBGameType extends GameInfo;
var FDBGameEvent FDBGEvent;
event InitGame( string Options, out string Error )
{
local FDBGameEvent FDBLGit;
Super.InitGame(Options, Error);
foreach DynamicActors(class'FDBGameEvent',FDBLGit)
{
if(FDBGEvent==none)
FDBGEvent = FDBLGit;
else Warn("MULTIPLE FDBGAMEEVENTS FOUND!!!!!");
}
if(FDBGEvent==none)
FDBGEvent = spawn(class'FDBGameEvent');
log("FDBGEvent = "$FDBGEvent);
}
To my game info and I've been getting this error in my log file, the problem, specimens do not move because their controller class does not possess the pawn because it doesn't have access to Game. How would I go about fixing this?