BIS fnc moduleDate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Some wiki formatting)
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Modules


|1.00|= Game version
|descr= Used by the Date module.
____________________________________________________________________________________________


| ''N/A'' |DESCRIPTION=
|s1= [logic, null, activated] call [[BIS_fnc_moduleDate]]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_moduleDate]]; --> |SYNTAX=
|p1= logic: [[Object]] - date module


|p1= |PARAMETER1=
|p2= null: [[Anything]] - not used


| |RETURNVALUE=
|p3= activated: [[Boolean]] - (Optional, default [[true]]) if [[false]] nothing will happen
____________________________________________________________________________________________


|x1= <code></code> |=
|r1= [[Boolean]] - always [[true]]
____________________________________________________________________________________________


| |SEEALSO=
|x1= <sqf>[logic, nil, true] call BIS_fnc_moduleDate;</sqf>


|seealso= [[Modules]] [[Date]]
}}
}}
<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:Function Group: Events|{{uc:moduleDate}}]]
[[Category:Functions|{{uc:moduleDate}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:moduleDate}}]]

Latest revision as of 11:35, 8 November 2023

Hover & click on the images for description

Description

Description:
Used by the Date module.
Execution:
call
Groups:
Modules

Syntax

Syntax:
[logic, null, activated] call BIS_fnc_moduleDate
Parameters:
logic: Object - date module
null: Anything - not used
activated: Boolean - (Optional, default true) if false nothing will happen
Return Value:
Boolean - always true

Examples

Example 1:
[logic, nil, true] call BIS_fnc_moduleDate;

Additional Information

See also:
Modules Date

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