class APZedList extends Object config(AdminPlus_v4); struct ZedRecord { var config array ZedName; //zed name, for comfort var config string ZedClassName; //color tag }; var config array ZedList; //zed list static function class getZedClass(string zed, string eventType) { local int i,n,j; local array temp; local string strTemp; // parse event type switch(eventType) { case "h": eventType = "_HALLOWEEN"; break; case "c": eventType = "_CIRCUS"; break; case "x": eventType = "_XMas"; break; case "none": eventType = ""; //in case we want to spawn some custom shit break; default: eventType = "_STANDARD"; } temp = default.ZedList; for(i=0; i(dynamicLoadObject(strTemp, class'Class')); }