Call of Duty Script Documentation

# setsaveddvar( <dvar>, <value> )

## Module

    Dvars

## Summary

    Sets the value of a dvar. Saved dvars are saved in the save game, and are reset to default on level change. Only works on dvars that have the 'SAVED' parameter set

## Example

    setsaveddvar("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