January 10, 20188 yr Hello, I'm having problems with my script that it should stop executing when the bot is on it's way to a flight mater (preferably when it is close to it) I've noticed that the log produces a "11:35:55.664 - [FlightMaster] Try to take taxi at <location>" but I am unsure if i can use something like the below to see if the bot is in a "seek out flightmaster"-state robotManager.Helpful.Logging.Status == "Regeneration" Does anyone know, or is there some documentation regarding the functions that I can call to understand where the bot is going and the purpose? Thanks!
January 12, 20188 yr Hello, you can try to read log: robotManager.Events.LoggingEvents.OnAddLog += delegate(Logging.Log log) { if (!string.IsNullOrWhiteSpace(log.Text) && log.Text.StartsWith("[FlightMaster] Try to take taxi at ")) { // ... } };
Create an account or sign in to comment