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
Supported By
sdTaskManagerLocal
Comments
- Task objects are of type sdPlayerTask.
Functionality
Allocates a mission and returns the object. If the allocation fails for any reason the result will be null.