OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Matthijs 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?
-
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
-
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.
-
Where is the debug output written to?
I can't find my output...
???