Normal
Hi thanks for the responseI tried[CODE]init(){ SetDvar("bot_difficulty", 0); Print("hello");}[/CODE]but it did not change the bot_difficulty setting.To clarify, I also ran the following code:[CODE]beginVal = getDvar( "bot_difficulty" ); Print ("beginVal " + beginVal);setDvar( "bot_difficulty", 3 );afterVal = getDvar( "bot_difficulty" );Print ("afterVal " + afterVal);[/CODE]The output printed indicated that the dvar HAD been changed to 3. However, when I checked the dvar by opening the console and typing bot_difficulty, it indicated that bot_difficulty was still set to 1.So I don't know what is going on, the gsc thinks the dvar is getting changed, but the console doesn't think soThanks
Hi thanks for the response
I tried
[CODE]init()
{
SetDvar("bot_difficulty", 0);
Print("hello");
}[/CODE]
but it did not change the bot_difficulty setting.
To clarify, I also ran the following code:
[CODE]beginVal = getDvar( "bot_difficulty" );
Print ("beginVal " + beginVal);
setDvar( "bot_difficulty", 3 );
afterVal = getDvar( "bot_difficulty" );
Print ("afterVal " + afterVal);[/CODE]
The output printed indicated that the dvar HAD been changed to 3. However, when I checked the dvar by opening the console and typing bot_difficulty, it indicated that bot_difficulty was still set to 1.
So I don't know what is going on, the gsc thinks the dvar is getting changed, but the console doesn't think so
Thanks