Home   Help Search Login Register  

Author Topic: Can mission results be written to file?  (Read 1378 times)

0 Members and 3 Guests are viewing this topic.

Offline Matthijs

  • Members
  • *
  • Qua Patet Orbis
    • The Chain of Command / mods.kmarns.net
Can mission results be written to file?
« on: 28 Aug 2002, 22:57:02 »
I want to get the following results out to some kind of text file:
- Losses
- People "escaped" (crossed a certain marker)

Would there be a way?

Marksman

  • Guest
Re:Can mission results be written to file?
« Reply #1 on: 29 Aug 2002, 00:46:04 »
There should be a way of outputting variables to a text file, but i couldn't get it to work.

Only tried once though  ;)

Take a look in the command reference, i think the commands you are looking for are something like

debug value

or

log value

where value is the variable you want to output.

If i remember rightly, i think with the log command, you also have to specify a filename. Take a look in the com. ref., it'll be a lot clearer than my ramblings  :hmm:

Marksman

Offline Matthijs

  • Members
  • *
  • Qua Patet Orbis
    • The Chain of Command / mods.kmarns.net
Re:Can mission results be written to file?
« Reply #2 on: 29 Aug 2002, 01:02:43 »
Well well... that's not correct pal.
It's not log <argument>
It's also not debug <argument>
But it's debuglog <argument>
hehe...
Thanks for the hint!

Two questions remain:
1- What file is the debug output?
2- Will it work for a dedicated server?

Yes I know, I should just try it out. But it's bedtime. Nighty night!  ;D


textLog anything
Operand types:
    anything: Any
Type of returned value:
    None
Description:
    Dump argument value to debugging output.

debugLog anything
Operand types:
    anything: Any
Type of returned value:
    None
Description:
    Dump argument type and value to debugging output.
« Last Edit: 29 Aug 2002, 01:05:48 by Matthijs »

Offline Matthijs

  • Members
  • *
  • Qua Patet Orbis
    • The Chain of Command / mods.kmarns.net
Re:Can mission results be written to file?
« Reply #3 on: 30 Aug 2002, 00:36:49 »
Where is the debug output written to?

I can't find my output...

 ???