they do the box

This commit is contained in:
ineed bots
2023-07-16 18:12:05 -06:00
parent 120b3edec6
commit 68ab7dad3b
4 changed files with 277 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ Priority( eObj, eEnt )
base_priority -= 1;
}
if ( eEnt.zombie_weapon_upgrade == "zombie_kar98k" )
if ( isSubStr( eEnt.zombie_weapon_upgrade, "kar98k" ) || isSubStr( eEnt.zombie_weapon_upgrade, "type99" ) )
{
base_priority -= 999;
}
@@ -130,6 +130,7 @@ Executer( eObj )
self ClearScriptAimPos();
self ClearScriptGoal();
self ClearPriorityObjective();
self CompletedObjective( eObj.bWasSuccessful, eObj.sReason );
}