| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

command_log

Page history last edited by Ryan McMullan 3 years, 6 months ago

The log mission scripting command sends text to the mission's log file. Useful for debugging.

 

Attribute Valid Values Optional? Description
text  text    text to be appended to the mission's log file. 

 

example:

<log text="Starting" />

results in the log file (located in the same directory as the associated mission script file) being created that looks like this:

**** log file for mission MISS_Mission_Name_Here ****

Starting

 

If you need to pass a variable to the log, you can surround it with "pipes".  For instance if you need to record whether Station2 survived and you have a variable named "Station2Survives" set to "yes" or "no", you can create a log statement like this:

<log text="Did Station 2 Survive? |Station2Survives|" />

When this command writes to the log "|Station2Survives|" will be replaced with the value of the variable (either "yes" or "no").

Comments (0)

You don't have permission to comment on this page.