BIS fnc moduleDate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Some wiki formatting)
 
(3 intermediate revisions by the same user not shown)
Line 8: 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 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