# Tasks (functions)

- [BIS_fnc_animateTaskWaypoint](../../functions/BIS_fnc_animateTaskWaypoint.md): Plays an animation that pushes the active task waypoint up and down.
- [BIS_fnc_basicTask](../../functions/BIS_fnc_basicTask.md): Compiled FSM that creates a predefined task for the player or changes its state. The only defined task type is "ATTACK"; its task ID is "ATTACK_" followed by the given number.
- [BIS_fnc_deleteTask](../../functions/BIS_fnc_deleteTask.md): Deletes given task.
- [BIS_fnc_missionTasks](../../functions/BIS_fnc_missionTasks.md): Header function of local mission tasks. Automatically declares following variables: _taskID: STRING _taskState: STRING _taskExists: BOOL
- [BIS_fnc_missionTasksLocal](../../functions/BIS_fnc_missionTasksLocal.md) **[broken]**: 
- [BIS_fnc_setTask](../../functions/BIS_fnc_setTask.md): Set task parameters.
- [BIS_fnc_setTaskLocal](../../functions/BIS_fnc_setTaskLocal.md): 
- [BIS_fnc_sharedObjectives](../../functions/BIS_fnc_sharedObjectives.md): 
- [BIS_fnc_taskAlwaysVisible](../../functions/BIS_fnc_taskAlwaysVisible.md): Returns true if task is forced to be always visible (default: false).
- [BIS_fnc_taskAttack](../../functions/BIS_fnc_taskAttack.md): This function adds a Seek and Destroy waypoint on defined position to the group and set its behaviour to "AWARE". If the group has other waypoints, the waypoint will be added at the end of the list.
- [BIS_fnc_taskChildren](../../functions/BIS_fnc_taskChildren.md): Return a task's sub-tasks.
- [BIS_fnc_taskCompleted](../../functions/BIS_fnc_taskCompleted.md): Checks if task is completed.
- [BIS_fnc_taskCreate](../../functions/BIS_fnc_taskCreate.md): Create a task.
- [BIS_fnc_taskCurrent](../../functions/BIS_fnc_taskCurrent.md): Returns unit's current task.
- [BIS_fnc_taskDefend](../../functions/BIS_fnc_taskDefend.md): Group will man nearby static defenses within a 100 metre radius of the defense position and guard the position. Some units will man weapons, others will patrol and the remainder will sit on the ground.
- [BIS_fnc_taskDescription](../../functions/BIS_fnc_taskDescription.md): Return a task's description.
- [BIS_fnc_taskDestination](../../functions/BIS_fnc_taskDestination.md): Return a task's destination.
- [BIS_fnc_taskExists](../../functions/BIS_fnc_taskExists.md): Return true if a task exists.
- [BIS_fnc_taskHandler](../../functions/BIS_fnc_taskHandler.md): Task handler: automatically sets a unit's current task. Whenever the unit receives a new task or a task is completed, the uncompleted task with the highest priority (lowest number) becomes current; among tasks of equal…
- [BIS_fnc_taskHint](../../functions/BIS_fnc_taskHint.md): Shows a task hint.
- [BIS_fnc_taskParent](../../functions/BIS_fnc_taskParent.md): Return a sub-task's parent task.
- [BIS_fnc_taskPatrol](../../functions/BIS_fnc_taskPatrol.md): Create a random patrol of several waypoints around a given position.
- [BIS_fnc_taskReal](../../functions/BIS_fnc_taskReal.md): Find the actual task associated with a task name assigned to a unit.
- [BIS_fnc_taskSetAlwaysVisible](../../functions/BIS_fnc_taskSetAlwaysVisible.md): Flags task to be or not to be always visible.
- [BIS_fnc_taskSetCurrent](../../functions/BIS_fnc_taskSetCurrent.md): Set a task to current. Identical to assigning a task.
- [BIS_fnc_taskSetDescription](../../functions/BIS_fnc_taskSetDescription.md): Set a task description.
- [BIS_fnc_taskSetDestination](../../functions/BIS_fnc_taskSetDestination.md): Set a task's destination.
- [BIS_fnc_taskSetState](../../functions/BIS_fnc_taskSetState.md): Set a task's state.
- [BIS_fnc_taskSetType](../../functions/BIS_fnc_taskSetType.md): Sets task type to given task.
- [BIS_fnc_taskState](../../functions/BIS_fnc_taskState.md): Returns task's state.
- [BIS_fnc_tasksUnit](../../functions/BIS_fnc_tasksUnit.md): Grab all tasks currently created for a given unit.
- [BIS_fnc_taskType](../../functions/BIS_fnc_taskType.md): Returns type of given task.
- [BIS_fnc_taskTypeIcon](../../functions/BIS_fnc_taskTypeIcon.md): Returns path to the icon texture associated with given task type.
- [BIS_fnc_taskVar](../../functions/BIS_fnc_taskVar.md): Returns task's variable name.
