setSimpleTaskDescription: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *([^=]{12,}) * \|s1=" to " |descr=$1 |s1=")
m (Some wiki formatting)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|version1= 1.00


|1.00
|game2= arma2oa
|version2= 1.50


|gr1= Briefing
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50
 
|gr1= Briefing


|descr= Attach descriptions to the simple task.
|descr= Attach descriptions to the simple task.


|s1= task '''setSimpleTaskDescription''' [description, descriptionShort, descriptionHUD]
|s1= task [[setSimpleTaskDescription]] [description, descriptionShort, descriptionHUD]


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


|p2= [description, descriptionShort, descriptionHUD]: [[Array]]
|p2= description: [[String]] - task description
 
|p3= description: [[String]] - Task description


|p4= descriptionShort: [[String]] - Task title
|p3= descriptionShort: [[String]] - task title


|p5= descriptionHUD: [[String]] - Task waypoint description
|p4= descriptionHUD: [[String]] - task waypoint description


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>mytask [[setSimpleTaskDescription]] ["Today you have to kill Spongebob","Kill Spongebob","Here he is!"];</code>
|x1= <sqf>myTask setSimpleTaskDescription ["Today you have to kill Spongebob", "Kill Spongebob", "There he is!"];</sqf>


|seealso= [[taskDescription]], [[Tasks]], [[createSimpleTask]], [[removeSimpleTask]], [[setSimpleTaskDestination]], [[setTaskState]], [[setTaskResult]], [[taskState]]
|seealso= [[taskDescription]] [[Tasks]] [[createSimpleTask]] [[removeSimpleTask]] [[setSimpleTaskDestination]] [[setTaskState]] [[setTaskResult]] [[taskState]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 21:56, 21 August 2022

Hover & click on the images for description

Description

Description:
Attach descriptions to the simple task.
Groups:
Briefing

Syntax

Syntax:
task setSimpleTaskDescription [description, descriptionShort, descriptionHUD]
Parameters:
task: Task
description: String - task description
descriptionShort: String - task title
descriptionHUD: String - task waypoint description
Return Value:
Nothing

Examples

Example 1:
myTask setSimpleTaskDescription ["Today you have to kill Spongebob", "Kill Spongebob", "There he is!"];

Additional Information

See also:
taskDescription Tasks createSimpleTask removeSimpleTask setSimpleTaskDestination setTaskState setTaskResult taskState

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