I want to set the difficulty of an enemy computer during game using dialog (Because the game has multiple modes, and melee mode is a choice. which gives you a couple choices on what race you are, enemy is and difficulty of that enemy). This is what I have so far
I'm not sure if this is possible, but you can make them artificially yourself by using "Set Difficulty Parameter" and "Set APM" to make them better/worse respectively.
What I'm going to say probably won't help much, but you should use switches instead of all those If-Then-Else... About your question now, the only thing I know of is that you can define a variable (type: difficulty level) to store the current difficulty the game is in (thus there is probably a way to modify it, since it can be stored). But I don't know if you can actually modify the difficulty while ingame, since adding difficulty implies loading the units that were not displayed in easier modes. This step is normally done during the loading of the map to prevent lags and bugs. But as mark8264 suggested, you can still fake an improved/lowered AI.
hi, if have tried to change the difficulty level at the variables but still get the same resault, as soon as i start to attack their base they surrender, how can i get the difficult settings to stay as i put them in the variables, i see there is a lock/unlock next to each selection what does it do.
I want to set the difficulty of an enemy computer during game using dialog (Because the game has multiple modes, and melee mode is a choice. which gives you a couple choices on what race you are, enemy is and difficulty of that enemy). This is what I have so far
-------Im not sure how to set the AI difficulty with triggers for this situation
I'm not sure if this is possible, but you can make them artificially yourself by using "Set Difficulty Parameter" and "Set APM" to make them better/worse respectively.
What I'm going to say probably won't help much, but you should use switches instead of all those If-Then-Else... About your question now, the only thing I know of is that you can define a variable (type: difficulty level) to store the current difficulty the game is in (thus there is probably a way to modify it, since it can be stored). But I don't know if you can actually modify the difficulty while ingame, since adding difficulty implies loading the units that were not displayed in easier modes. This step is normally done during the loading of the map to prevent lags and bugs. But as mark8264 suggested, you can still fake an improved/lowered AI.
hi, if have tried to change the difficulty level at the variables but still get the same resault, as soon as i start to attack their base they surrender, how can i get the difficult settings to stay as i put them in the variables, i see there is a lock/unlock next to each selection what does it do.
where can i find "Set Difficulty Parameter" is it by map variants or where