private string ConvoyRecalled = "Convoy Recalled"; // loaded my mytexts internal NpcGroupManager(int modBuildWhenSaved, HeatSystem heatSystem, QueuedAudioSystem audioSystem, BaseManager baseManager, ConvoySpawner convoySpawner) { this.heatSystem = heatSystem; this.audioSystem = audioSystem; this.baseManager = baseManager; this.convoySpawner = convoySpawner; modBuildWhenLastSaved = modBuildWhenSaved; MyAPIGateway.Entities.OnEntityAdd += NewEntityEvent; EscortName = VRage.MyTexts.Get(MyStringId.TryGet("EscortName")).ToString(); var InvestigatingBackupCallID = MyStringId.TryGet("InvestigatingBackupCall"); InvestigatingBackupCall = VRage.MyTexts.Get(InvestigatingBackupCallID).ToString(); ConvoyRecalled = VRage.MyTexts.Get(MyStringId.TryGet("ConvoyRecalled")).ToString(); }
private static float ConvoySpeed = 10f; // needs to be 10f for release internal NpcGroupManager(int modBuildWhenSaved, HeatSystem heatSystem, QueuedAudioSystem audioSystem, BaseManager baseManager, ConvoySpawner convoySpawner) { this.heatSystem = heatSystem; this.audioSystem = audioSystem; this.baseManager = baseManager; this.convoySpawner = convoySpawner; modBuildWhenLastSaved = modBuildWhenSaved; MyAPIGateway.Entities.OnEntityAdd += NewEntityEvent; }