Skip to content

Log functions

Log_GetMissionStatus

Gets the status of diary topic. Works only for missions, not for notes.

  • 0 – Free
  • 1 – Running
  • 2 – Success
  • 3 – Failure
  • 4 – Obsolete
func int Log_GetMissionStatus(var string topic) {};
  • topic – name of the mission topic
  • return – topic status
Example usage
1
2
3
4
if (Log_GetMissionStatus(TOPIC_InnosEye) == LOG_SUCCESS)
{
    //...
};