Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 |
//----------------------------------------------------------- // //----------------------------------------------------------- class KFTeamAI_Story extends KFTeamAI; /* Hack for story NPCs - check their team Index number instead of the TeamInfo object .. (They dont actually get put on teams with human players) */ function bool FriendlyToward(Pawn Other) { if(KF_StoryNPC(Other) != none) { return KF_StoryNPC(Other).TeamIndex == Team.TeamIndex ; } return Super.OnThisTeam(Other); } defaultproperties { } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |