Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTDefensePoint

Extends
NavigationPoint
Modifiers
placeable native

defines a place bots should defend. Bots automatically determine reasonable defending positions in sight of their objective (e.g. flag room), so these should only be used for hard to reach camping spots or choke points far from the objective area

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.NavigationPoint
      |   
      +-- UTGame.UTDefensePoint

Direct Known Subclasses:

UTHoldSpot

Constants Summary
Inherited Contants from Engine.NavigationPoint
INFINITE_PATH_COST
Inherited Contants from Engine.Actor
ACTORMAXSTEPHEIGHT, MINFLOORZ, RBSTATE_ANGVELSCALE, RBSTATE_LINVELSCALE, RB_NeedsUpdate, RB_None, RB_Sleeping, REP_RBLOCATION_ERROR_TOLERANCE_SQ, TRACEFLAG_Blocking, TRACEFLAG_Bullet, TRACEFLAG_PhysicsVolumes, TRACEFLAG_SkipMovers

Variables Summary
boolbFirstScript
ControllerCurrentUser
UTDefensePointNextDefensePoint
array<Texture2D>TeamSprites
UTDefensePoint
boolbOnlyOnFoot
boolbOnlySkilled
boolbSniping
UTGameObjectiveDefendedObjective
nameDefenseGroup
EDefensePriorityDefensePriority
class<Weapon>WeaponPreference
Inherited Variables from Engine.NavigationPoint
AnchoredPawn, BadSprite, bAlreadyVisited, bAlwaysUseStrafing, bAutoBuilt, bBlockable, bBlocked, bBlockedForVehicles, bBuildLongPaths, bCanReach, bCanWalkOnToReach, bDestinationOnly, bEndPoint, bestPathWeight, bFlyingPreferred, bForceNoStrafing, bHasCrossLevelPaths, bHideEditorPaths, bMakeSourceOnly, bMayCausePain, bMustBeReachable, bMustTouchToReach, bNeverUseStrafing, bNoAutoConnect, bNotBased, bOneWayPath, bPathsChanged, bPreferredVehiclePath, bSourceOnly, bSpecialForced, bSpecialMove, bTransientEndPoint, bVehicleDestination, Cost, CylinderComponent, EditorForcedPaths, EditorProscribedPaths, ExtraCost, FearCost, GoodSprite, InventoryCache, InventoryDist, LastAnchoredPawnTime, LastDetourWeight, MaxPathSize, NavGuid, NavOctreeObject, NearestObjective, NetworkID, nextNavigationPoint, nextOrdered, ObjectiveDistance, PathCost, PathList, previousPath, prevOrdered, TransientCost, visitedWeight, VolumeList
Inherited Variables from Engine.Actor
Acceleration, AllComponents, Attached, bAlwaysEncroachCheck, bAlwaysRelevant, bAlwaysTick, Base, BaseBoneName, BaseSkelComponent, bBlockActors, bBlocksNavigation, bBlocksTeleport, bBounce, bCanBeAdheredTo, bCanBeDamaged, bCanBeFrictionedTo, bCanTeleport, bClientDemoRecording, bCollideActors, bCollideComplex, bCollideWhenPlacing, bCollideWorld, bComponentOutsideWorld, bConsiderAllStaticMeshComponentsForStreaming, bDebug, bDeleteMe, bDemoOwner, bDemoRecording, bDestroyedByInterpActor, bDestroyInPainVolume, bEdShouldSnap, bExchangedRoles, bForceNetUpdate, bGameRelevant, bHardAttach, bHasAlternateTargetLocation, bHidden, bHiddenEd, bHiddenEdCustom, bHiddenEdGroup, bHurtEntry, bIgnoreBaseRotation, bIgnoreEncroachers, bIgnoreRigidBodyPawns, bIsMoving, bJustTeleported, bKillDuringLevelTransition, bLockLocation, BlockRigidBody, bMovable, bNetDirty, bNetInitial, bNetInitialRotation, bNetOwner, bNetTemporary, bNeverReplicateRotation, bNoDelete, bNoEncroachCheck, bOnlyDirtyReplication, bOnlyOwnerSee, bOnlyRelevantToOwner, bOrientOnSlope, bPathColliding, bPathTemp, bPendingDelete, bPendingNetUpdate, bPhysRigidBodyOutOfWorldCheck, bPostRenderIfNotVisible, bProjTarget, bPushedByEncroachers, bRepClientDemo, bReplicateInstigator, bReplicateMovement, bReplicateRigidBodyLocation, bRouteBeginPlayEvenIfStatic, bScriptInitialized, bShadowParented, bShouldBaseAtStartup, bSkipActorPropertyReplication, bStasis, bStatic, bTearOff, bTempEditor, bTicked, bUpdateSimulatedPosition, bWorldGeometry, Children, CollisionComponent, CollisionType, Components, CreationTime, CustomTimeDilation, DesiredRotation, DetachFence, DrawScale, DrawScale3D, GeneratedEvents, Group, InitialState, Instigator, LastNetUpdateTime, LastRenderTime, LatentActions, LatentFloat, LatentSeqNode, LifeSpan, Location, MessageClass, MinDistForNetRBCorrection, NetPriority, NetTag, NetUpdateFrequency, NetUpdateTime, OverlapTag, Owner, PendingTouch, Physics, PhysicsVolume, PrePivot, RelativeLocation, RelativeRotation, RemoteRole, Role, Rotation, RotationRate, SupportedEvents, Tag, TickGroup, Timers, Touching, Velocity, WorldInfo

Enumerations Summary
EDefensePriority
DEFPRI_Low, DEFPRI_High,
Inherited Enumerations from Engine.Actor
ECollisionType, EDoubleClickDir, EMoveDir, ENetRole, EPhysics, ETravelType

Structures Summary
Inherited Structures from Engine.NavigationPoint
NavigationOctreeObject
Inherited Structures from Engine.Actor
AnimSlotDesc, AnimSlotInfo, AsyncLineCheckResult, CollisionImpactData, ImpactInfo, NavReference, ReplicatedHitImpulse, RigidBodyContactInfo, RigidBodyState, TimerData, TraceHitInfo

Functions Summary
functionbool CheckForErrors ()))
function FreePoint ()))
functionActor GetMoveTarget ()))
functionbool HigherPriorityThan (UTDefensePoint S, UTBot B, bool bAutoPointsInUse, bool bPrioritizeSameGroup, out int NumChecked))
function PreBeginPlay ()))
function Reset ()))
Inherited Functions from Engine.NavigationPoint
Accept, CanTeleport, DetourWeight, GetAllNavInRadius, GetBoundingCylinder, GetNearestNavToActor, GetNearestNavToPoint, GetReachSpecTo, IsAvailableTo, OnMatchingNetworks, OnToggle, ProceedWithMove, SpecialCost, SuggestMovePreparation
Inherited Functions from Engine.Actor
ActivateEventClass, AllActors, AllOwnedComponents, Attach, AttachComponent, AutonomousPhysics, BaseChange, BasedActors, BecomeViewTarget, BeginAnimControl, BroadcastLocalizedMessage, BroadcastLocalizedTeamMessage, Bump, CalcCamera, CanSplash, ChartData, CheckForErrors, CheckHitInfo, CheckMaxEffectDistance, ChildActors, ClampRotation, ClearLatentAction, ClearTimer, Clock, CollidingActors, CollisionChanged, ComponentList, ConsoleCommand, ConstraintBrokenNotify, ContainsPoint, CreateAudioComponent, DebugFreezeGame, Destroy, Destroyed, Detach, DetachComponent, DisplayDebug, DoKismetAttachment, DrawDebugBox, DrawDebugCone, DrawDebugCoordinateSystem, DrawDebugCylinder, DrawDebugLine, DrawDebugSphere, DynamicActors, EffectIsRelevant, EncroachedBy, EncroachingOn, EndViewTarget, Falling, FastTrace, FellOutOfWorld, FindActorsOfClass, FindBase, FindEventsOfClass, FindGoodEndView, FindSpot, FinishAnim, FinishAnimControl, FlushPersistentDebugLines, ForceNetRelevant, ForceUpdateComponents, GainedChild, GetActorEyesViewPoint, GetActorFaceFXAsset, GetBaseMost, GetBoundingCylinder, GetComponentsBoundingBox, GetDebugName, GetDestination, GetFaceFXAudioComponent, GetGravityZ, GetHumanReadableName, GetItemName, GetLocalString, GetLocationStringFor, GetPackageGuid, GetPhysicsName, GetTargetLocation, GetTeamNum, GetTerminalVelocity, GetTimerCount, GetTimerRate, GetURLMap, GetUTFlag, HealDamage, HitWall, HurtRadius, InterpolationChanged, InterpolationFinished, InterpolationStarted, IsActorPlayingFaceFXAnim, IsBasedOn, IsInPain, IsInVolume, IsOverlapping, IsOwnedBy, IsPlayerOwned, IsStationary, IsTimerActive, KilledBy, Landed, LocalPlayerControllers, LostChild, MakeNoise, MatchStarting, ModifyHearSoundComponent, Move, MoveSmooth, MovingWhichWay, NativePostRenderFor, NotifyLocalPlayerTeamReceived, NotifySkelControlBeyondLimit, OnAnimEnd, OnAnimPlay, OnAttachToActor, OnCauseDamage, OnChangeCollision, OnDestroy, OnHealDamage, OnMakeNoise, OnRanOver, OnSetBlockRigidBody, OnSetPhysics, OnTeleport, OnToggleHidden, OutsideWorldBounds, OverlappingActors, OverRotated, PawnBaseDied, PhysicsVolumeChange, PickedUpBy, PlayActorFaceFXAnim, PlayerCanSeeMe, PlaySound, PlayTeleportEffect, PointCheckComponent, PostBeginPlay, PostInitAnimTree, PostRenderFor, PostTeleport, PostTouch, PreBeginPlay, PreTeleport, RanInto, ReplaceText, ReplicatedEvent, Reset, RigidBodyCollision, RootMotionExtracted, RootMotionModeChanged, ScriptGetTeamNum, SetAnimPosition, SetAnimWeights, SetBase, SetCollision, SetCollisionSize, SetDrawScale, SetDrawScale3D, SetForcedInitialReplicatedProperty, SetGRI, SetHardAttach, SetHidden, SetHUDLocation, SetInitialState, SetLocation, SetMorphWeight, SetNetUpdateTime, SetOnlyOwnerSee, SetOwner, SetPhysics, SetRelativeLocation, SetRelativeRotation, SetRotation, SetSkelControlScale, SetTickGroup, SetTimer, SetZone, ShutDown, Sleep, Spawn, SpawnedByKismet, SpecialHandling, StopActorFaceFXAnim, StopsProjectile, SuggestTossVelocity, TakeDamage, TakeRadiusDamage, Tick, Timer, TimeSince, TornOff, Touch, TouchingActors, Trace, TraceActors, TraceComponent, TriggerEventClass, UnClock, UnTouch, UsedBy, VisibleActors, VisibleCollidingActors


Variables Detail

bFirstScript Source code

var bool bFirstScript;

CurrentUser Source code

var Controller CurrentUser;

NextDefensePoint Source code

var UTDefensePoint NextDefensePoint;

TeamSprites Source code

var editoronly array<Texture2D> TeamSprites;
sprites used for this actor in the editor, depending on which team DefendedObjective is on (if possible to determine in editor)

UTDefensePoint

bOnlyOnFoot Source code

var(UTDefensePoint) bool bOnlyOnFoot;

bOnlySkilled Source code

var(UTDefensePoint) bool bOnlySkilled;

bSniping Source code

var(UTDefensePoint) bool bSniping;

DefendedObjective Source code

var(UTDefensePoint) UTGameObjective DefendedObjective;

DefenseGroup Source code

var(UTDefensePoint) name DefenseGroup;
defensepoint grouping - bots will make sure each group has at least one defender before assigning a second

DefensePriority Source code

var(UTDefensePoint) EDefensePriority DefensePriority;

WeaponPreference Source code

var(UTDefensePoint) class<Weapon> WeaponPreference;


Enumerations Detail

EDefensePriority Source code

enum EDefensePriority
{
DEFPRI_Low, DEFPRI_High,
};


Functions Detail

CheckForErrors Source code

function bool CheckForErrors ( ) )

FreePoint Source code

function FreePoint ( ) )

GetMoveTarget Source code

function Actor GetMoveTarget ( ) )

HigherPriorityThan Source code

function bool HigherPriorityThan ( UTDefensePoint S, UTBot B, bool bAutoPointsInUse, bool bPrioritizeSameGroup, out int NumChecked) )
determines if this point is higher priority than the passed in point
@param S - the point to check against
@param B - the bot that's checking
@param bAutoPointsInUse - whether other bot(s) on this team are using the automatic defensepoints (so allow low priority)
@param bPrioritizeSameGroup - if true, prefer defensepoints of the same group as current, all else being equal
@param NumChecked - the number of usable points so far
@return whether this point is a better choice

PreBeginPlay Source code

function PreBeginPlay ( ) )

Reset Source code

function Reset ( ) )


Defaultproperties

defaultproperties
{
   bFirstScript=True
   TeamSprites(0)=Texture2D'EnvyEditorResources.RedDefense'
   TeamSprites(1)=Texture2D'EnvyEditorResources.BlueDefense'
   Begin Object Class=CylinderComponent Name=CollisionCylinder ObjName=CollisionCylinder Archetype=CylinderComponent'Engine.Default__NavigationPoint:CollisionCylinder'
      ObjectArchetype=CylinderComponent'Engine.Default__NavigationPoint:CollisionCylinder'
   End Object
   CylinderComponent=CollisionCylinder
   Begin Object Class=SpriteComponent Name=Sprite ObjName=Sprite Archetype=SpriteComponent'Engine.Default__NavigationPoint:Sprite'
      Sprite=Texture2D'EnvyEditorResources.DefensePoint'
      ObjectArchetype=SpriteComponent'Engine.Default__NavigationPoint:Sprite'
   End Object
   GoodSprite=Sprite
   Begin Object Class=SpriteComponent Name=Sprite2 ObjName=Sprite2 Archetype=SpriteComponent'Engine.Default__NavigationPoint:Sprite2'
      ObjectArchetype=SpriteComponent'Engine.Default__NavigationPoint:Sprite2'
   End Object
   BadSprite=Sprite2
   Components(0)=Sprite
   Components(1)=Sprite2
   Begin Object Class=ArrowComponent Name=Arrow ObjName=Arrow Archetype=ArrowComponent'Engine.Default__NavigationPoint:Arrow'
      ObjectArchetype=ArrowComponent'Engine.Default__NavigationPoint:Arrow'
   End Object
   Components(2)=Arrow
   Components(3)=CollisionCylinder
   Begin Object Class=PathRenderingComponent Name=PathRenderer ObjName=PathRenderer Archetype=PathRenderingComponent'Engine.Default__NavigationPoint:PathRenderer'
      ObjectArchetype=PathRenderingComponent'Engine.Default__NavigationPoint:PathRenderer'
   End Object
   Components(4)=PathRenderer
   CollisionComponent=CollisionCylinder
   CollisionType=COLLIDE_CustomDefault
   Name="Default__UTDefensePoint"
   ObjectArchetype=NavigationPoint'Engine.Default__NavigationPoint'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:49.731 - Created with UnCodeX