Call of Duty Script Documentation

# setturretignoregoals(<ignoreGoals>)

## Module

    Turret

## Summary

    Sets the ignoreGoals flag for the turret.

## Call this function on

    <turret> A turret entity

## Example

    roof_mg42 setturretignoregoals(true);

## Minimum Number of arguments: 1

    1 : <ignoreGoals> If this is true then any actor on this turret will ignore his goals, and continue to use the turret. This is useful for vehicle based turrets.

## Number of optional arguments: 0

Return to Function List