Call of Duty Script Documentation

# setdvar( <dvar>, <value> )

## Module

    Dvars

## Summary

    Sets the value of a dvar. If the 'development' dvar is set then any dvar can be set, otherwise only external dvars ( that is dvars that are not defined in code can be set. )

## Example

    setdvar("r_eyesAdjust", "1")

## Minimum Number of arguments: 2

    1 : <dvar> The dvar name as a string
    2 : <value> The dvar value

## Number of optional arguments: 0

Return to Function List