Home   Help Search Login Register  

Author Topic: missionStart doesnt work  (Read 939 times)

0 Members and 1 Guest are viewing this topic.

Rubble_Maker

  • Guest
missionStart doesnt work
« 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

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:missionStart doesnt work
« Reply #1 on: 10 Jul 2003, 23:10:57 »
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]

Rubble_Maker

  • Guest
Re:missionStart doesnt work
« Reply #2 on: 11 Jul 2003, 11:50:29 »
Hehe thx, I know the OCR ;)

But when I try this code, it returns NOTHING.

Rubble_Maker

  • Guest
Re:missionStart doesnt work
« Reply #3 on: 11 Jul 2003, 19:29:46 »
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).

Offline Spinor

  • Members
  • *
  • I'm a llama!
    • The chain of command
Re:missionStart doesnt work
« Reply #4 on: 15 Jul 2003, 12:47:11 »
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.