Call of Duty Script Documentation

# setmode(<mode>)

## Module

    Turret

## Summary

    Set the mode of a turret.

## Call this function on

    <turret> A turret entity

## Example

    mg42 setmode("auto_ai");

## Minimum Number of arguments: 1

    1 : <mode> The turret mode. Possible modes are "auto_ai", "manual", "manual_ai" and "auto_nonai

## Number of optional arguments: 0

Return to Function List