Dvar Tutorial - AkbarHashimi/BO2-Plutonium-Modding-Guide GitHub Wiki
What are Dvars?
Simply Dvars means Dynamic Variable. These Dvars are kind of like applying settings to the game world, like setDvar("scr_screecher_ignore_player", 1);
which makes it so the player is now ignored by denizens on Tranzit.
How do you change one?
Well you use the setDvar()
function, in this pattern:
setDvar( dvar name, new value)
like in the example above, the dvar name was scr_screecher_ignore_player
and the new value was 1
.