OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Rubble_Maker on 10 Jul 2003, 21:03:40
-
It doesn't return anything! Is the command buggy or am I doing something wrong? Also, what is it supposed to return - a string or a number?
thx
-
Does this answer your question?
missionStart
type of returned value:
Array
Description:
Return time when mission start in format [year,month,day,hour,minute,second]
version 1.8 required
Seems to me the usage would be something like:
titletext format["%1",missionstart]
-
Hehe thx, I know the OCR ;)
But when I try this code, it returns NOTHING.
-
Okay, more precisely it returns
[0,0,0,0,0,0,0,0]
(dunno if the number of zeros is correct, but all values in the array are zero). This is returned in both previewed and exported missions, so I assume the command doesn't work (bug or obsolete).
-
AFAIK, the command works only in MP and is supposed
to return the the real time (i.e. not the game time)
the mission started.