setSimpleTaskAlwaysVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command
|arma3
 
|game1= arma3
|version1= 1.58
 
|eff= local


|gr1= Briefing
|gr1= Briefing


|1.58
|descr= Sets task's visibility.
|arg=
 
|eff=
|s1= taskID [[setSimpleTaskAlwaysVisible]] state
| Makes the given task allways visible or not.
 
| taskID [[setSimpleTaskAlwaysVisible]] state
|p1= taskID: [[Task]]
|p1= taskID: [[Task]]
|p2= state: [[Boolean]]
| [[Nothing]]
|x1= [[currentTask]] [[player]] [[setSimpleTaskAlwaysVisible]] [[true]];
| [[createSimpleTask]]
}}


<dl class='command_description'>
|p2= state: [[Boolean]] - [[true]] for always visible, [[false]] for fade out
<!-- BEGIN Note Section -->
<!-- For example:
<dd class='notedate'>Posted on Month Day, Year - Time (UTC)</dd>
<dt class='note'>'''[[User:User Name|User Name]]'''</dt>
<dd class='note'>This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] Leave it here for others to read; };</code></dd>
-->
<!-- END Note Section -->
</dl>


|r1= [[Nothing]]


|x1= [[currentTask]] [[player]] [[setSimpleTaskAlwaysVisible]] [[true]];


 
|seealso= [[taskAlwaysVisible]] [[createSimpleTask]]
{{GameCategory|arma3|Scripting Commands}}
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 17:59, 20 January 2022

Hover & click on the images for description

Description

Description:
Sets task's visibility.
Groups:
Briefing

Syntax

Syntax:
taskID setSimpleTaskAlwaysVisible state
Parameters:
taskID: Task
state: Boolean - true for always visible, false for fade out
Return Value:
Nothing

Examples

Example 1:
currentTask player setSimpleTaskAlwaysVisible true;

Additional Information

See also:
taskAlwaysVisible createSimpleTask

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