UE3:Controller instance functions (UDK)
![]() |
Object >> Actor >> Controller (instance functions) |
- Controller instance functions in other games:
- Other member categories for this class:
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Instance functions
CleanupPRI
ClientSetLocation
ClientSetRotation
ClientSetWeapon
ClientSwitchToBestWeapon
DisplayDebug
Overrides: Actor.DisplayDebug
list important Controller variables on canvas. HUD will call DisplayDebug() on the current ViewTarget when the ShowDebug exec is used
Parameters:
- HUD - HUD with canvas to draw on
- out_YL - Height of the current font
- out_YPos - Y position on Canvas. out_YPos += out_YL, gives position to draw text for next debug line.
EnemyJustTeleported
FireWeaponAt
GameHasEnded
GamePlayEndedState
GetAdjustedAimFor
Adjusts weapon aiming direction. Gives controller a chance to modify the aiming of the pawn. For example aim error, auto aiming, adhesion, AI help... Requested by weapon prior to firing.
Parameters:
- W - weapon about to fire
- StartFireLoc - world location of weapon fire start trace, or projectile spawn loc.
GetDestinationOffset
return desired offset to move position... used for MoveTo/MoveToward
GetHumanReadableName
Overrides: Actor.GetHumanReadableName
GetRouteGoalAfter
HandlePickup
spawn and init Navigation Handle
InitPlayerReplicationInfo
spawns and initializes the PlayerReplicationInfo for this Controller
InstantWarnTarget
IsAimingAt
This will return whether or not this controller is aiming at the passed in actor. We are defining AIMing to mean that you are attempting to target the actor. Not just looking in the direction of the actor.
IsDead
LandingShake
LandingShake() returns true if controller wants landing view shake
NotifyAddInventory
Called when an inventory item is given to our Pawn (owning client only)
Parameters:
- NewItem - the Inventory item that was added
NotifyChangedWeapon
NotifyCoverClaimViolation
Called when cover that AI had claimed is claimed forceably by someone else (usually a player)
NotifyCoverDisabled
Called when a slot is disabled with this controller as the current owner.
NotifyKilled
NotifyProjLanded
NotifyTakeHit
OnModifyHealth
Overrides: Actor.OnModifyHealth
Redirect to pawn.
OnPossess
Kismet Action to possess a Pawn or a vehicle
OnSetPhysics
Overrides: Actor.OnSetPhysics
Redirects SetPhysics kismet action to the pawn
OnSetVelocity
Overrides: Actor.OnSetVelocity
Redirects SetVelocity kismet action to the pawn
OnTeleport
Overrides: Actor.OnTeleport
(Description copied from Actor.OnTeleport)
Called upon receiving a SeqAct_Teleport action. Grabs
the first destination available and attempts to teleport
this actor.
Parameters:
- Action - teleport action that was activated
OnToggleAffectedByHitEffects
OnToggleGodMode
Sets god mode based on the activated link.
OnToggleHidden
Overrides: Actor.OnToggleHidden
Overridden to redirect to the pawn if available.
PawnDied
ReadyForLift
ReceiveProjectileWarning
ReceiveWarning
Restart
RoundHasEnded
SendMessage
ServerGivePawn
ServerRestartPlayer
SetCharacter
UnderLift
Called when the this Controller's Pawn gets hit by an InterpActor interpolating downward while this Controller has Lift set as its PendingMover
Parameters:
- Lift - the LiftCenter associated with the InterpActor that hit the Pawn
UpdateSex
WaitForMover
WarnProjExplode
Notification from given projectil that it is about to explode