Advertisement
Guest User

Untitled

a guest
Jun 16th, 2018
174
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. enum EAISpecialType
  5. {
  6.     AT_EDAR
  7. }
  8.  
  9. static function ECDZedNameResolv GetZedType(
  10.     const out string ZedName, const bool IsSpecial, const bool IsRagedOnSpawn,
  11.     out EAIType ZedType, out EAISpecialType EDARType,
  12.     out class<KFPawn_Monster> ZedClass )
  13. {
  14.     if ( ZedName ~= "TP" || 2 <= ZedLen && ZedLen <= 7 && ZedName ~= Left("Trapper", ZedLen) )
  15.     {
  16.         EDARType = AT_EDAR;
  17.         ZedClass = class'KFPawn_ZedDAR_EMP';
  18.     }
  19. }
  20.  
  21. static function GetZedFullName( const AISquadElement SquadElement, out string ZedName )
  22. {
  23.     ZedName = "";
  24.  
  25.     if ( SquadElement.CustomClass == class'KFPawn_ZedDAR_EMP' )
  26.     {
  27.         ZedName = "Trapper";
  28.     }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement