Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CD_ZedNameUtils extends Object
- Abstract;
- enum EAISpecialType
- {
- AT_EDAR
- }
- static function ECDZedNameResolv GetZedType(
- const out string ZedName, const bool IsSpecial, const bool IsRagedOnSpawn,
- out EAIType ZedType, out EAISpecialType EDARType,
- out class<KFPawn_Monster> ZedClass )
- {
- if ( ZedName ~= "TP" || 2 <= ZedLen && ZedLen <= 7 && ZedName ~= Left("Trapper", ZedLen) )
- {
- EDARType = AT_EDAR;
- ZedClass = class'KFPawn_ZedDAR_EMP';
- }
- }
- static function GetZedFullName( const AISquadElement SquadElement, out string ZedName )
- {
- ZedName = "";
- if ( SquadElement.CustomClass == class'KFPawn_ZedDAR_EMP' )
- {
- ZedName = "Trapper";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement