setSimpleTaskDescription: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
|descr= Attach descriptions to the simple task. | |descr= Attach descriptions to the simple task. | ||
|s1= task | |s1= task [[setSimpleTaskDescription]] [description, descriptionShort, descriptionHUD] | ||
|p1= task: [[Task]] | |p1= task: [[Task]] | ||
|p2= | |p2= description: [[String]] - task description | ||
|p3= | |p3= descriptionShort: [[String]] - task title | ||
|p4 | |p4= descriptionHUD: [[String]] - task waypoint description | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>myTask setSimpleTaskDescription ["Today you have to kill Spongebob", "Kill Spongebob", "There he is!"];</sqf> | ||
|seealso= [[taskDescription]] | |seealso= [[taskDescription]] [[Tasks]] [[createSimpleTask]] [[removeSimpleTask]] [[setSimpleTaskDestination]] [[setTaskState]] [[setTaskResult]] [[taskState]] | ||
}} | }} |
Latest revision as of 20:56, 21 August 2022
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