I'm not sure if that's the right title, but I have no idea how else to phrase it. Basically, I'm trying to set the FamilyInfo class of a Player Controller. Here's what I have so far:
class UPHPlayerController extends UTPlayerController;
var class<UTFamilyInfo> CharacterClass;
simulated event PostBeginPlay()
exec function SpawnAsChar(string CharName)
The line I'm focusing on is CharacterClass=class'UPHFamilyInfo_"CharName"';. Is there a way of doing this? I get an error Error, Unterminated string constant: '; Obviously the alternative is an if function for each character, but if I can get this to work, it'll save a lot of lines of code.