Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
missionStart doesnt work
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
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
Logged
Zombie
Members
Beware the night, the zombie walks among you
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]
Logged
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.
Logged
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).
Logged
Spinor
Members
I'm a llama!
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.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
missionStart doesnt work
Top of page