Fandom

武装突袭 Wiki

MissionStart

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 Share

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

  

点击图片可看到更多讯息

开始使用于

游戏:
Operation Flashpoint: Resistance
版本:
1.8

描述

描述:
Returns date and time when mission started in format [year, month, day, hour, minute, second].

Works only in multiplayer, in singleplayer all values are equal to zero → [0,0,0,0,0,0]

NOTE: Because missionStart contains the time of the actual start of the mission, it might not be available in pre-init or init, but is guaranteed to be available in post-init when time > 0.

基本句法

句法:
missionStart
返回值:
Array - real local date and time (similar to date format but with seconds)

范例

范例1:
setDate (missionStart select [0,5]);

范例2:
Set real date: //postInit = 1; if (isServer) then { waitUntil {time > 0}; setDate (missionStart select [0,5]); };

额外资讯

多人游戏:
-
也可以看看:

datetimedaytimeserverTimesetDate

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Bottom Section

Posted on September 25, 2014 - 08:10 (UTC)
Kenoxite
Returns array with date indicating when the mission has started (after briefing screen). In OFP this command is bugged – it works only in multiplayer on a player‐hosted machine and on a client. In single player it would return [0,0,0,0,0,0] and on a dedicated server – [1970,1,1,0,0,0]. In CWA this command is fixed.

Posted on December 30, 2014 - 18:15 (UTC)
Killzone Kid
In arma 3 this command returns [0,0,0,0,0,0] in SP, [1970,1,1,0,0,0] on dedicated server and [1970,1,1,0,0,0] initially and then server real time on local headless client. On player clients it shows client's local date and time. Since Arma 3 v1.49 the dedicated server also returns correct mission start date.

Posted on August 27, 2015 - 10:02 (UTC)
IT07
ArmA 3 1.50: This command now returns the correct values on dedicated server. http://feedback.arma3.com/view.php?id=23373

更多维基

随机维基