武装突袭 Wiki
探索
首页
讨论板
所有页面
社区页
交互式地图
最新博文
页面
最新页面
Contact Reports
Hotshot's Sandbox
DIK KeyCodes
Curator
武装突袭 Wiki
Product.cpp/bin File Format
Oxygen Light
最新博客
分类
Uploaded with UploadWizard
Face A2 Face101.jpg
Face A2 Face102.jpg
Face A2 Face103.jpg
Face A2 Face104.jpg
Face A2 Face105.jpg
Face A2 Face106.jpg
Face A2 Face107.jpg
含有损坏文件链接的页面
Eden Editor: Introduction
Eden Editor: Switching from 2D Editor
Eden Editor: Menu Bar
Eden Editor: Asset Browser
Eden Editor: Toolbar
Eden Editor: Status Bar
Eden Editor: Entity Attributes
社区
社区首页
社区中心
帮助中心
FANDOM
游戏
电影
电视
wiki
探索wiki
社区中心
创建wiki
尚未注册?
注册
登录
登录
注册
武装突袭 Wiki
4,828
个页面
探索
首页
讨论板
所有页面
社区页
交互式地图
最新博文
页面
最新页面
Contact Reports
Hotshot's Sandbox
DIK KeyCodes
Curator
武装突袭 Wiki
Product.cpp/bin File Format
Oxygen Light
最新博客
分类
Uploaded with UploadWizard
Face A2 Face101.jpg
Face A2 Face102.jpg
Face A2 Face103.jpg
Face A2 Face104.jpg
Face A2 Face105.jpg
Face A2 Face106.jpg
Face A2 Face107.jpg
含有损坏文件链接的页面
Eden Editor: Introduction
Eden Editor: Switching from 2D Editor
Eden Editor: Menu Bar
Eden Editor: Asset Browser
Eden Editor: Toolbar
Eden Editor: Status Bar
Eden Editor: Entity Attributes
社区
社区首页
社区中心
帮助中心
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
编辑“
MissionStart
”
返回页面
编辑
可视化编辑器
查看历史
讨论 (0)
正在编辑
MissionStart
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
[[Category:Scripting Commands|MISSIONSTART]] [[Category:Scripting Commands OFP 1.96|MISSIONSTART]] [[Category:Scripting Commands ArmA|MISSIONSTART]] [[Category:Command_Group:_Mission_Information|MISSIONSTART]] {{Command|= Comments ____________________________________________________________________________________________ | ofpr |= Game name |1.8|= Game version ____________________________________________________________________________________________ | 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] <br><br> '''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.|= Description ____________________________________________________________________________________________ | '''missionStart''' |= Syntax |x1= <code>[[setDate]] ([[missionStart]] [[select]] [0,5]);</code> |= Example 1 |x2= Set real date: <code>//postInit = 1; [[if]] ([[isServer]]) [[then]] { [[waitUntil]] {[[time]] > 0}; [[setDate]] ([[missionStart]] [[select]] [0,5]); };</code> |= Example 2 | [[Array]] - real local date and time (similar to [[date]] format but with seconds)|= Return value ____________________________________________________________________________________________ | [[date]], [[time]], [[daytime]], [[serverTime]], [[setDate]] |= See also }} <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style="display:none">Bottom Section</h3> [[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] <!-- CONTINUE Notes --> <dl class="command_description"> <dd class="notedate">Posted on September 25, 2014 - 08:10 (UTC)</dd> <dt class="note">[[User:Kenoxite|Kenoxite]]</dt> <dd class="note"> 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. </dd> </dl> <!-- DISCONTINUE Notes --> <!-- CONTINUE Notes --> <dl class="command_description"> <dd class="notedate">Posted on December 30, 2014 - 18:15 (UTC)</dd> <dt class="note">[[User:Killzone Kid|Killzone Kid]]</dt> <dd class="note"> 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. </dd> </dl> <!-- DISCONTINUE Notes --> <!-- CONTINUE Notes --> <dl class="command_description"> <dd class="notedate">Posted on August 27, 2015 - 10:02 (UTC)</dd> <dt class="note">[[User:IT07|IT07]]</dt> <dd class="note"> ArmA 3 1.50: This command now returns the correct values on dedicated server. http://feedback.arma3.com/view.php?id=23373 </dd> </dl> <!-- DISCONTINUE Notes -->
摘要:
请注意在武装突袭 Wiki上的所有贡献都将依据CC-BY-SA进行发布。
取消
编辑帮助
(在新窗口中打开)
本页使用的模板:
Template:=
(
查看源代码
)
Template:Biki unified see also
(
查看源代码
)
Template:Busa
(
查看源代码
)
Template:Command
(
查看源代码
)
Template:Command-example
(
查看源代码
)
Template:GVI
(
查看源代码
)
Template:GVI/branch
(
查看源代码
)
Template:GVI/intro
(
查看源代码
)
Template:Name
(
查看源代码
)
该页面属于1个隐藏分类:
Category:Operation Flashpoint: Resistance: New Scripting Commands List
Follow on IG
TikTok
Join Fan Lab