setSimpleTaskAlwaysVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (sa)
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________
 
|arma3 |Game name=
|game1= arma3
|1.58|Game Version=
|version1= 1.58
|arg=  |Multiplayer Arguments=
 
|eff= |Multiplayer Effects=
|eff= local
____________________________________________________________________________________________
 
| Makes the given task allways visible or not. |DESCRIPTION=
|gr1= Briefing
____________________________________________________________________________________________
 
| taskID [[setSimpleTaskAlwaysVisible]] state |SYNTAX=
|descr= Sets task's visibility.
|p1= taskID: [[Task]] |PARAMETER1=
 
|p2= state: [[Bool]] |PARAMETER2=
|s1= taskID [[setSimpleTaskAlwaysVisible]] state
| [[Nothing]] |RETURNVALUE=
 
|x1= [[currentTask]] [[player]] [[setSimpleTaskAlwaysVisible]] [[true]]; |EXAMPLE1=
|p1= taskID: [[Task]]
| [[createSimpleTask]] |SEEALSO=
 
}}
|p2= state: [[Boolean]] - [[true]] for always visible, [[false]] for fade out


<dl class='command_description'>
|r1= [[Nothing]]
<!-- 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>


<h3 style='display:none'>Bottom Section</h3>
|x1= [[currentTask]] [[player]] [[setSimpleTaskAlwaysVisible]] [[true]];
<!-- Appropriate categories go here -->


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
|seealso= [[taskAlwaysVisible]] [[createSimpleTask]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Command Group: Briefing|{{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