ScriptEvent:allocEntityTask

From Mod Wiki

Parameters

integer index -- Index of the task to use.
entity (cannot be null) owner -- Entity which the task will be associated with.

Result

object

Supported By

sdTaskManagerLocal

Comments

Functionality

Allocates a mission and returns the object. If the allocation fails for any reason the result will be null.