Task: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
A '''task''' is the [[:Category:Data Types|variable type]] that can contain a task (formerly known as "objective").
A '''task''' is the [[:Category:Data Types|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 ==
== Description ==


A (simple?)Task
A (simple?)Task

Revision as of 04:45, 1 November 2009

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

A (simple?)Task