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


Number of optional arguments: 0



Return to Function List