BIS fnc moduleDate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added description, parameters and an example)
m (Some wiki formatting)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Modules
|gr1= Modules
Line 9: Line 8:
|descr= Used by the Date module.
|descr= Used by the Date module.


|s1= [logic, [[objNull]], activated] call [[BIS_fnc_moduleDate]];
|s1= [logic, null, activated] call [[BIS_fnc_moduleDate]]


|p1= logic: [[Object]] - Date module
|p1= logic: [[Object]] - date module


|p2= Not used
|p2= null: [[Anything]] - not used


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


|r1= [[Boolean]] - Always [[true]]
|r1= [[Boolean]] - always [[true]]


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


|seealso= [[Modules]], [[Date]]
|seealso= [[Modules]] [[Date]]
}}
}}

Latest revision as of 10: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