Advertisement
Guest User

Untitled

a guest
Jun 16th, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class CD_ZedNameUtils extends Object
  2.     Abstract;
  3.  
  4. static function ECDZedNameResolv GetZedType(
  5.     const out string ZedName, const bool IsSpecial, const bool IsRagedOnSpawn,
  6.     out EAIType ZedType, out EAISpecialType EDARType,
  7.     out class<KFPawn_Monster> ZedClass )
  8. {
  9.     if ( ZedName ~= "TP" || 2 <= ZedLen && ZedLen <= 7 && ZedName ~= Left("Trapper", ZedLen) )
  10.     {
  11.         ZedClass = class'KFPawn_ZedDAR_EMP';
  12.     }
  13. }
  14.  
  15. static function GetZedFullName( const AISquadElement SquadElement, out string ZedName )
  16. {
  17.     ZedName = "";
  18.  
  19.     if ( SquadElement.CustomClass == class'KFPawn_ZedDAR_EMP' )
  20.     {
  21.         ZedName = "Trapper";
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement