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 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 |
/** * This is the base class for crowd agents. Allows us to interact with it in the Engine module. * * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved. */ class CrowdAgentBase extends Actor abstract native(AI) implements( Interface_NavigationHandle ) dependson( CoverLink ) ClassGroup(Crowd); cpptext { virtual UBOOL CanCoverSlip(ACoverLink* Link, INT SlotIdx) { return FALSE; } /** * returns the offset from the edge move point this entity should move toward (e.g. how high off the ground we should move to) * @param Edge - the edge we're moving to * @return - the offset to use */ virtual FVector GetEdgeZAdjust(FNavMeshEdgeBase* Edge) { return FVector(0.f,0.f,1.f); } virtual void SetupPathfindingParams( FNavMeshPathParams& out_ParamCache ); virtual void InitForPathfinding() {} virtual INT ExtraEdgeCostToAddWhenActive() { return 0; } } // Interface_navigationhandle stub - called when path edge is deleted that this controller is using event NotifyPathChanged(); defaultproperties { } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |