Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Commit

Permalink
_aicskill Undefined Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SMVampire committed Jun 2, 2014
1 parent 82f0c91 commit 8c2f14d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DZMS/Scripts/DZMSAISpawn.sqf
Expand Up @@ -88,6 +88,8 @@ for "_x" from 1 to _unitcount do {
_unit addWeapon _x
} forEach _geartools;

_aicskill = DZMSSkills1;

//Lets set the skills
switch (_skill) do {
case 0: {_aicskill = DZMSSkills0;};
Expand Down Expand Up @@ -141,4 +143,4 @@ call compile format["
_unitMissionCount = count %1;
",_unitArrayName];

diag_log text format["[DZMS]: (%3) %1 AI Spawned, %2 units in mission.",count (units _unitGroup),_unitMissionCount,_unitArrayName];
diag_log text format["[DZMS]: (%3) %1 AI Spawned, %2 units in mission.",count (units _unitGroup),_unitMissionCount,_unitArrayName];

0 comments on commit 8c2f14d

Please sign in to comment.