setSimpleTaskAlwaysVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
 
(27 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________
 
|arma3 |= Game
|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
|p3=  |PARAMETER3=
 
|p3=  |PARAMETER4=
|p1= taskID: [[Task]]
|p3=  |PARAMETER5=
 
|p3=  |PARAMETER6=
|p2= state: [[Boolean]] - [[true]] for always visible, [[false]] for fade out
| [[Nothing]] |RETURNVALUE=
|x1= getWarka [[setSimpleTaskAlwaysVisible]] [[true]]; |EXAMPLE1=
| - |SEEALSO=
}}


<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}}}}]]
}}

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