BIS fnc setDate: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 23: | Line 23: | ||
|x1= <code>[<nowiki/>[2035, 12, 31, 23, 59], [[true]], [[true]]] [[call]] [[BIS_fnc_setDate]];</code> | |x1= <code>[<nowiki/>[2035, 12, 31, 23, 59], [[true]], [[true]]] [[call]] [[BIS_fnc_setDate]];</code> | ||
|x2= <code>[4] [[call]] [[BIS_fnc_setDate]]; {{Skip 4 hours. Same as image in description}}</code> | |x2= <code>[4] [[call]] [[BIS_fnc_setDate]]; {{cc|Skip 4 hours. Same as image in description}}</code> | ||
|seealso= [[date]], [[setDate]], [[skipTime]] | |seealso= [[date]], [[setDate]], [[skipTime]] | ||
}} | }} |
Revision as of 09:32, 3 April 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:
[4] call BIS_fnc_setDate; // Skip 4 hours. Same as image in description
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