setDate: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 44: | Line 44: | ||
<dd class="note">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. | <dd class="note">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. | ||
<dd class="notedate">10 September | <dd class="notedate">10 September 2013 (EET) | ||
<dt class="note">'''[[User:Killzone_Kid|Killzone_Kid]]''' | <dt class="note">'''[[User:Killzone_Kid|Killzone_Kid]]''' | ||
<dd class="note">This command is JIP compatible. Players joining after mission start will get current server [[date]] set up. | <dd class="note">This command is JIP compatible. Players joining after mission start will get current server [[date]] set up. |
Revision as of 22:16, 10 September 2013
Description
- Description:
- Sets the actual mission date and time.
- Groups:
- Uncategorised
Syntax
- Syntax:
- setDate [year, month, day, hour, minute]
- Parameters:
- [year, month, day, hour, minute]: Array
- Return Value:
- Nothing
Examples
- Example 1:
setDate [1986, 2, 25, 16, 0]
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
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
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Command Group: Mission Information
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters