setSimpleTaskType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added an example to setSimpleTaskType)
Line 20: Line 20:
| Nothing |= Return Value
| Nothing |= Return Value


____________________________________________________________________________________________
 
|x1= <code>(currentTask player) setSimpleTaskType "attack";</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 06:08, 5 June 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:
taskTypesetSimpleTaskCustomDatataskCustomDataTasks 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