Mostly Harmless
UE2:Controller (UE2Runtime)
From Unreal Wiki, The Unreal Engine Documentation Site
- Package:
- Engine
- Known direct subclasses:
- AIController, PlayerController
- This class in other games:
- U2, U2XMP, UDK, UT2003, UT2004, UT3
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Controller, the base class of players or AI.
Controllers are non-physical actors that can be attached to a pawn to control its actions. PlayerControllers are used by human players to control pawns, while AIControFllers implement the artificial intelligence for the pawns they control. Controllers take control of a pawn using their Possess() method, and relinquish control of the pawn by calling UnPossess().
Controllers receive notifications for many of the events occuring for the Pawn they are controlling. This gives the controller the opportunity to implement the behavior in response to this event, intercepting the event and superceding the Pawn's default behavior.
This is a built-in Unreal class and it shouldn't be modified.
[edit] Constants
[edit] LATENT_MOVETOWARD
Value: 503
LatentAction number for Movetoward() latent function
[edit] Properties
[edit] Property group 'Controller'
[edit] PlayerReplicationInfoClass
Type: class<PlayerReplicationInfo>
Default value: Class'Engine.PlayerReplicationInfo'
[edit] Internal variables
See Controller internal variables.
[edit] Default values
| Property | Value | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| bHidden | True | ||||||||
| bHiddenEd | True | ||||||||
| RotationRate |
|
[edit] Functions
[edit] Latent functions
[edit] FinishRotation
[edit] MoveTo
[edit] MoveToward
[edit] WaitForLanding
[edit] Exec functions
[edit] SwitchToBestWeapon
[edit] Native functions
[edit] actorReachable
[edit] AddController
[edit] CanSee
[edit] EAdjustJump
[edit] EndClimbLadder
[edit] FindBestInventoryPath
[edit] FindPathTo
[edit] FindPathToIntercept
[edit] FindPathToward
[edit] FindPathTowardNearest
[edit] FindRandomDest
[edit] InLatentExecution
[edit] LineOfSightTo
[edit] PickAnyTarget
[edit] PickTarget
[edit] PickWallAdjust
[edit] pointReachable
[edit] RemoveController
[edit] StopWaiting
[edit] Events
[edit] AIHearSound
[edit] AllowDetourTo
[edit] Desireability
[edit] Destroyed
Overrides: Actor.Destroyed
[edit] EnemyNotVisible
[edit] HearNoise
[edit] LongFall
[edit] MayFall
[edit] MonitoredPawnAlert
[edit] NotifyBump
[edit] NotifyHeadVolumeChange
[edit] NotifyHitMover
[edit] NotifyHitWall
[edit] NotifyJumpApex
[edit] NotifyLanded
[edit] NotifyMissedJump
[edit] NotifyPhysicsVolumeChange
[edit] PostBeginPlay
Overrides: Actor.PostBeginPlay
[edit] PreBeginPlay
Overrides: Actor.PreBeginPlay
[edit] PrepareForMove
[edit] RenderOverlays
Overrides: Actor.RenderOverlays
[edit] SeeMonster
[edit] SeePlayer
[edit] SetupSpecialPathAbilities
[edit] SoakStop
[edit] Other instance functions
See Controller instance functions.
[edit] States
[edit] Dead
Ignores: HearNoise, KilledBy, SeePlayer
[edit] Dead.PawnDied
Overrides: PawnDied (global)
[edit] Dead.ServerReStartPlayer
Overrides: ServerReStartPlayer (global)
[edit] GameEnded
Ignores: Falling, HearNoise, HitWall, KilledBy, NotifyBump, NotifyHeadVolumeChange, NotifyPhysicsVolumeChange, ReceiveWarning, SeePlayer, TakeDamage
[edit] GameEnded.BeginState
Overrides: Object.BeginState (global)
