BIS fnc taskAlwaysVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page for BIS_fnc_taskAlwaysVisible)
m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|")
 
(44 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


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


| arma3 |= Game name
|arg= global|gr1= Tasks


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


| <pre>/*
|s1= taskID call [[BIS_fnc_taskAlwaysVisible]]


Description:
|p1= taskID: [[String]] - ID of the task
Returns true if task is forced to be always visible (default: false).


Parameters:
|r1= [[Boolean]] - returns [[true]] if forced visible, otherwise [[false]]
0: STRING - task id


Returns:
|x1= <sqf>private _isForcedVisible = "task_1" call BIS_fnc_taskAlwaysVisible;</sqf>
BOOL - true if task is forced to be always visible; false if it should fade out normally
*/
 
</pre>|= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_taskAlwaysVisible]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code>_alwaysVisible:bool = [_taskId:string] call BIS_fnc_taskAlwaysVisible;</code> |=
____________________________________________________________________________________________
 
| [[Arma_3_Tasks_Overhaul|Tasks Overhaul]] |= See also


|seealso=  [[Arma 3: Task Framework]]
}}
}}
<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: Tasks|{{uc:taskAlwaysVisible}}]]
[[Category:Functions|{{uc:taskAlwaysVisible}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:taskAlwaysVisible}}]]

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