Call of Duty Script Documentation

# objective_current(<objective_index>, <objective_index>,...)

## Module

    Objective

## Summary

    Set which objective(s) are currently being done. If none specified, there's no current objective. Current objectives that are not specified to still be current, are set to active.

## Example

    objective_current( aHardpointObjectives[0].obj, aHardpointObjectives[1].obj, aHardpointObjectives[2].obj );

## Minimum Number of arguments: 1

    1 : <objective_index> The ID of the objective to set current.

## Number of optional arguments: 1

    1 : <objective_index> Any number of additional IDs to set current.

Return to Function List