BIS fnc taskAlwaysVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|")
 
(8 intermediate revisions by 2 users 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>_isForcedVisible = "task_1" [[call]] [[BIS_fnc_taskAlwaysVisible]];</code>
|x1= <sqf>private _isForcedVisible = "task_1" call BIS_fnc_taskAlwaysVisible;</sqf>


|seealso= [[:Category:Function Group: Tasks|Task Functions]] [[Arma 3: Task Framework]]
|seealso= [[Arma 3: Task Framework]]
}}
}}

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