BIS fnc taskAlwaysVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ")
m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|")
 
(5 intermediate revisions by the same user not shown)
Line 6: Line 6:
|arg= global|gr1= Tasks
|arg= global|gr1= Tasks


|descr= Returns [[true]] if task is forced to be always visible (default: [[false]]). {{Feature|Informative| See [[Arma 3: Task Framework]] for more information.}}
|descr= Returns [[true]] if task is forced to be always visible (default: [[false]]). {{Feature|informative| See [[Arma 3: Task Framework]] for more information.}}


|s1= taskID call [[BIS_fnc_taskAlwaysVisible]]
|s1= taskID call [[BIS_fnc_taskAlwaysVisible]]
Line 12: Line 12:
|p1= taskID: [[String]] - ID of the task
|p1= taskID: [[String]] - ID of the task


|r1= [[Boolean]] - Returns [[true]] if forced visible, otherwise [[false]]
|r1= [[Boolean]] - returns [[true]] if forced visible, otherwise [[false]]


|x1= <code>[[private]] _isForcedVisible = "task_1" [[call]] [[BIS_fnc_taskAlwaysVisible]];</code>
|x1= <sqf>private _isForcedVisible = "task_1" call BIS_fnc_taskAlwaysVisible;</sqf>


|seealso=  [[Arma 3: Task Framework]]
|seealso=  [[Arma 3: Task Framework]]
}}
}}

Latest revision as of 01:24, 2 February 2024

Hover & click on the images for description

Description

Description:
Returns true if task is forced to be always visible (default: false).
See Arma 3: Task Framework for more information.
Execution:
call
Groups:
Tasks

Syntax

Syntax:
taskID call BIS_fnc_taskAlwaysVisible
Parameters:
taskID: String - ID of the task
Return Value:
Boolean - returns true if forced visible, otherwise false

Examples

Example 1:
private _isForcedVisible = "task_1" call BIS_fnc_taskAlwaysVisible;

Additional Information

See also:
Arma 3: Task Framework

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