XIII
Class XIIIAmbientPawn

source: C:\XIII\XIII\Classes\XIIIAmbientPawn.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Pawn
         |
         +--XIII.XIIIAmbientPawn
Direct Known Subclasses:Colvert, Shark, XIIITransientAPawn

class XIIIAmbientPawn
extends Engine.Pawn

//----------------------------------------------------------- // //-----------------------------------------------------------

Function Summary
 bool IsFemale()
     
//_____________________________________________________________________________
 bool IsInfant()
     
//_____________________________________________________________________________
 bool IsWalking()
     
//_____________________________________________________________________________
 void PickSize(int NumKids, int NumMoms, int NumDads)
     
/* PickSize() Choose random size variation for this ambientpawn */
 void PlayCall()
     
//_____________________________________________________________________________



Source Code


00001	//-----------------------------------------------------------
00002	//
00003	//-----------------------------------------------------------
00004	class XIIIAmbientPawn extends Pawn
00005	     abstract;
00006	
00007	//_____________________________________________________________________________
00008	function PlayCall();
00009	
00010	//_____________________________________________________________________________
00011	function bool IsWalking()
00012	{
00013	    return (base!=none);
00014	}
00015	
00016	//_____________________________________________________________________________
00017	/* PickSize() Choose random size variation for this ambientpawn */
00018	function PickSize(int NumKids, int NumMoms, int NumDads);
00019	
00020	//_____________________________________________________________________________
00021	function bool IsFemale()
00022	{
00023	    return false;
00024	}
00025	
00026	//_____________________________________________________________________________
00027	function bool IsInfant()
00028	{
00029	    return false;
00030	}
00031	
00032	//_____________________________________________________________________________
00033	event Trigger( Actor Other, Pawn EventInstigator )
00034	{
00035	//    Log(self@"triggered");
00036	    Controller.Trigger(Other, EventInstigator);
00037	}
00038	
00039	
00040	
00041	defaultproperties
00042	{
00043	     bAmbientCreature=True
00044	}

End Source Code