BIS fnc taskSetDescription: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.00


|1.00
|gr1= Tasks


|gr1= Tasks
|arg= global
|eff= global


|arg= global|eff= global| Set a task description. {{Informative| See [[Arma 3: Task Framework]] for more information.}}
|descr= Set a task description. {{Feature|informative| See [[Arma 3: Task Framework]] for more information.}}


| [ taskId, [ taskDescription, taskTitle, taskMarker ] ] call [[BIS_fnc_taskSetDescription]]
|s1= [taskId, [taskDescription, taskTitle, taskMarker]] call [[BIS_fnc_taskSetDescription]]


|p1= taskId: [[String]]
|p1= taskId: [[String]]
Line 19: Line 21:
|p4= taskMarker: [[String]]
|p4= taskMarker: [[String]]


| [[Boolean]]
|r1= [[Boolean]]


|x1= <code>[
|x1= <sqf>[
"tsk_destroyAA",
"tsk_destroyAA",
[
[
Line 28: Line 30:
"Shilkas"
"Shilkas"
]
]
] [[call]] [[BIS_fnc_taskSetDescription]];</code>
] call BIS_fnc_taskSetDescription;</sqf>


| [[:Category:Function Group: Tasks|Task Functions]] [[Arma 3: Task Framework]]
|seealso=  [[Arma 3: Task Framework]]
}}
}}
[[Category:{{Name|arma3}}: Functions|{{uc:taskSetDescription}}]]

Latest revision as of 01:24, 2 February 2024

Hover & click on the images for description

Description

Description:
Set a task description.
See Arma 3: Task Framework for more information.
Execution:
call
Groups:
Tasks

Syntax

Syntax:
[taskId, [taskDescription, taskTitle, taskMarker]] call BIS_fnc_taskSetDescription
Parameters:
taskId: String
taskDescription: String
taskTitle: String
taskMarker: String
Return Value:
Boolean

Examples

Example 1:
[ "tsk_destroyAA", [ "You should plant Satchels under those Shilkas! Good luck.", "Destroy the Shilkas", "Shilkas" ] ] call BIS_fnc_taskSetDescription;

Additional Information

See also:
Arma 3: Task Framework

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