Task: Difference between revisions
Jump to navigation
Jump to search
MaestrO.fr (talk | contribs) No edit summary |
MaestrO.fr (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
== Description == | == Description == | ||
The state of the task can be "CREATED", "SUCCEEDED", "FAILED" or "CANCELED". | |||
[[Category: Data Types]] | [[Category: Data Types]] |
Revision as of 00:29, 15 April 2010
A task is the variable type that can contain a task (formerly known as "objective").
_task = player createsimpletask ["obj0"]; _task setsimpletaskdescription ["Remove enemy", "Clear enemy", "Danger"]; _task setsimpletaskdestination [6132.75, 7754.75]; _task settaskstate "Created"; [nil, nil, _task, "created"] execvm "\ca\modules\mp\data\scriptcommands\taskhint.sqf";
Description
The state of the task can be "CREATED", "SUCCEEDED", "FAILED" or "CANCELED".