Fandom

武装突袭 Wiki

SetDate

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

点击图片可看到更多讯息

开始使用于

游戏:
Armed Assault
版本:
1.00

描述

描述:
Sets the actual mission date and time.

基本句法

句法:
setDate [year, month, day, hour, minute]
参数:
[year, month, day, hour, minute]: Array
返回值:
Nothing

范例

范例1:
setDate [1986, 2, 25, 16, 0]; //(4:00pm February 25, 1986)

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

额外资讯

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

dateskipTimenumberToDatedateToNumber

注意事项

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

Notes

18:52, 6 October 2007 (CEST)
Doolittle
This command is special in that it is "smart". If you add 120 minutes, for example, it will actually advance hours by 2, and so on.

10:00, 7/12/2010 (BST)
Alpha
This command sets the date for the southern hemisphere only, i.e. when the map is in northern hemisphere a date [2010,12,7,17,0] is in day light and and date [2010,6,7,17,0] is in darkness.

21:35, 31 October 2011 (EET)
Osmo
In multiplayer, the effect of this command is local, not global. The date from the server is synchronized with clients when they join the game (including start of the mission and joining in progress). E.g. if this command is executed on server in the init.sqf before the mission starts, every client will be synchronized with server as mission is started. However, if you run this command in the middle of the mission, effect is local.

10 September 2013 (EET)
Killzone_Kid
This command is JIP compatible. Players joining after mission start will get current server date set up.


Bottom Section

Posted on October 4, 2014 - 17:43 (UTC)
MulleDK13
Since an unknown version of ARMA 3, this command sadly now has global effect when executed on the server.

Posted on February 5, 2015 - 06:38 (UTC)
Ozdeadmeat
Arma 3 1.38.128937- Leapyear BUG - setdate [2016,12,31,23,59] yields an ingame date of the 1st of January 2017. If left to tick over from the 30th of December it ticks to 1st January skipping the 31st of December entirely. Feedback_Link

更多维基

随机维基