setSimpleTaskType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added currentTask to see also)
m (format)
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>(currentTask player) setSimpleTaskType "attack";</code> |= Example 1
|x1= <code>([[currentTask]] [[player]]) [[setSimpleTaskType]] "attack";</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:58, 19 September 2016


-wrong parameter ("A3") defined!-[[:Category:Introduced with A3 version 1.58|1.58]]
Hover & click on the images for description

Description

Description:
Attach type to the simple task.
Groups:
Uncategorised

Syntax

Syntax:
task setSimpleTaskType taskType
Parameters:
task: Task
taskType: String - Type of task
Return Value:
Nothing

Examples

Example 1:
(currentTask player) setSimpleTaskType "attack";

Additional Information

See also:
taskTypecurrentTasksetSimpleTaskCustomDatataskCustomDataTasks Overhaul

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

[[Category:Introduced with A3 version 1.58]][[ Category: A3: New Scripting Commands | SETSIMPLETASKTYPE]][[ Category: A3: Scripting Commands | SETSIMPLETASKTYPE]]

Bottom Section