VitalOverdose/AllMapVecFactory
Part of Vital'sPMT
OverView
//----------------------------------------------------------- // AllMapVecFactory // By VitalOverDose //----------------------------------------------------------- class AllMapVecFactory Extends asvehiclefactory; simulated Function PostBeginPlay() { Local Gameinfo FoundGameInfo; // blankVariable of type 'Gameinfo' to store ref foreach DynamicActors(Class'Engine.Gameinfo', FoundGameInfo) // iterates though all dynamic Actors that are 'gameinfos' { // and stores a ref to them in FoundGameInfo if (FoundGameInfo.bAllowVehicles == True) // FoundGameInfo.bAllowVehicles = True; // Sets the value FoundGameInfo.bAllowVehicles to true } Super.PostBeginPlay(); // copys any Function related code from parent Class to here }