priority: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma2
|game1= arma2
|version1= 1.00


|gr1= Briefing
|game2= arma2oa
|version2= 1.50


|game3= tkoh
|version3= 1.00


|game4= arma3
|version4= 0.50


|1.00
|gr1= Briefing


| Return the priority of the task.
|descr= Return the priority of the task.


| '''priority''' task
|s1= [[priority]] task


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


|p2=
|r1= [[Number]]
 
|p3=
 
| [[Number]]


|x1= <sqf>_prioTsk01 = priority task01;</sqf>


|x1= <code>_prioTsk01 = [[priority]] task01</code>
|seealso= [[createSimpleTask]] [[simpleTasks]]
 
 
| [[createSimpleTask]] [[simpleTasks]]
 
|  |MPBEHAVIOUR=
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 22:43, 28 June 2022

Hover & click on the images for description

Description

Description:
Return the priority of the task.
Groups:
Briefing

Syntax

Syntax:
priority task
Parameters:
task: Task
Return Value:
Number

Examples

Example 1:
_prioTsk01 = priority task01;

Additional Information

See also:
createSimpleTask simpleTasks

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