taskAlwaysVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <!-- [A-Z]+ Notes? Section -->" to "")
m (Text replacement - "‎" to "")
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.58
|1.58


|gr1= Briefing
|gr1= Briefing


| Returns true if the task is flagged to be always visible or false if not.
|descr= Returns true if the task is flagged to be always visible or false if not.


| '''taskAlwaysVisible''' task
|s1= [[taskAlwaysVisible]] task


|p1= task: [[Task]]
|p1= task: [[Task]]


| [[Boolean]]
|r1= [[Boolean]]


 
|x1= <sqf>_isAlwaysVisible = taskAlwaysVisible (currentTask player);</sqf>
|x1= <code>_isAlwaysVisible = [[taskAlwaysVisible]] ([[currentTask]] [[player]]);</code>


| [[setSimpleTaskAlwaysVisible]], [[taskType]], [[BIS_fnc_taskSetAlwaysVisible]], [[BIS_fnc_taskAlwaysVisible]], [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]]
|seealso= [[setSimpleTaskAlwaysVisible]] [[taskType]] [[BIS_fnc_taskSetAlwaysVisible]] [[BIS_fnc_taskAlwaysVisible]] [[Arma 3: Task Framework#Task Overhaul|Tasks Overhaul]]
}}
}}
<dl class="command_description">
<!-- For example:
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">[[User:User Name|]]</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[Magic Variables#this|_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
</dl>
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 11:55, 26 April 2023

Hover & click on the images for description

Description

Description:
Returns true if the task is flagged to be always visible or false if not.
Groups:
Briefing

Syntax

Syntax:
taskAlwaysVisible task
Parameters:
task: Task
Return Value:
Boolean

Examples

Example 1:
_isAlwaysVisible = taskAlwaysVisible (currentTask player);

Additional Information

See also:
setSimpleTaskAlwaysVisible taskType BIS_fnc_taskSetAlwaysVisible BIS_fnc_taskAlwaysVisible Tasks Overhaul

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