BIS fnc setDate: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Environment |GROUP1= | |gr1 = Environment |GROUP1= | ||
| Instantly set date and share it across network with optional transition effect. [[File:BIS_fnc_setDate.jpg|left|400px]] |DESCRIPTION= | | Instantly set date and share it across network with optional transition effect. [[File:BIS_fnc_setDate.jpg|left|400px]] |DESCRIPTION= | ||
| [date, global, transition] call [[BIS_fnc_setDate]] |SYNTAX= | | [date, global, transition] call [[BIS_fnc_setDate]] |SYNTAX= | ||
Line 23: | Line 20: | ||
| [[Date]] - the new date |RETURNVALUE= | | [[Date]] - the new date |RETURNVALUE= | ||
|x1= <code>[<nowiki/>[2035, 12, 31, 23, 59], [[true]], [[true]]] [[call]] [[BIS_fnc_setDate]];</code> |EXAMPLE1= | |x1= <code>[<nowiki/>[2035, 12, 31, 23, 59], [[true]], [[true]]] [[call]] [[BIS_fnc_setDate]];</code> |EXAMPLE1= | ||
|x2= <code>[3.5] [[call]] [[BIS_fnc_setDate]];</code> |EXAMPLE2= | |x2= <code>[3.5] [[call]] [[BIS_fnc_setDate]];</code> |EXAMPLE2= | ||
| [[date]], [[setDate]], [[skipTime]] |SEEALSO= | | [[date]], [[setDate]], [[skipTime]] |SEEALSO= |
Revision as of 23:53, 16 January 2021
Description
- Description:
- Instantly set date and share it across network with optional transition effect.
- Execution:
- call
- Groups:
- Environment
Syntax
- Syntax:
- [date, global, transition] call BIS_fnc_setDate
- Parameters:
- date: Number or Date
- global: Boolean - (Optional, default true) true for global execution
- transition: Boolean (Optional, default false) true to show a transition effect instead of an immediate skip
- Return Value:
- Date - the new date
Examples
- Example 1:
[[2035, 12, 31, 23, 59], true, true] call BIS_fnc_setDate;
- Example 2:
[3.5] call BIS_fnc_setDate;
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