Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:U2NPCControllerScriptable instance functions (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

Instance functions

ActorInRange

function final ActorInRange ()


ActorOutOfRange

function final ActorOutOfRange ()


AgentSpecialStateBegin

function AgentSpecialStateBegin ()


AgentSpecialStateEnd

function AgentSpecialStateEnd ()


AssignScriptController

function bool AssignScriptController (optional class<ScriptControllerInterfSpecifiedScriptControllerClass)


AutoBegin

function final AutoBegin (name DestinationState, name DestinationLabel)


AutoEnd

function final AutoEnd ()


BumpEnemy

function final BumpEnemy (Pawn Other)


BumpFriend

function final BumpFriend (Pawn Other)


BumpOther

function final BumpOther (Actor Other)


CleanupScriptController

function CleanupScriptController ()


ClearScriptTarget

function ClearScriptTarget ()


DestinationReached

function final DestinationReached ()


DetachScriptController

function DetachScriptController ()


DialogUnPause

function DialogUnPause ()

Overrides: Actor.DialogUnPause


Died

function final Died ()


eventAutoBegin

function eventAutoBegin (name DestinationState, name DestinationLabel)


eventBumpEnemy

function eventBumpEnemy (Pawn Other)


eventBumpFriend

function eventBumpFriend (Pawn Other)


eventBumpOther

function eventBumpOther (Actor Other)


eventDialogUnPaused

function eventDialogUnPaused ()


eventEnemyNotVisible

function eventEnemyNotVisible ()


eventHearNoiseFriendly

function eventHearNoiseFriendly (float Loudness, Actor NoiseMaker)


eventHearNoiseOther

function eventHearNoiseOther (float Loudness, Actor NoiseMaker)


eventHearNoiseThreat

function eventHearNoiseThreat (float Loudness, Actor NoiseMaker)


eventInheritEnemy

function eventInheritEnemy (Pawn NewEnemy)


eventSeeAlertFriend

function eventSeeAlertFriend (Pawn Seen)


eventSeeEnemy

function eventSeeEnemy (Pawn Seen)


eventSeeFriend

function eventSeeFriend (Pawn Seen)


eventSeeOther

function eventSeeOther (Actor Seen)


eventTakeDamage

function eventTakeDamage (int Damage, Pawn Instigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)


eventTookDamage

function eventTookDamage (int Damage, Pawn Instigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)


GetExtendedInformation

function GetExtendedInformation (out array<stringReturnedStrings)

Overrides: U2NPCController.GetExtendedInformation


GetScriptedMoveSpeed

function float GetScriptedMoveSpeed ()


HasScript

function bool HasScript ()

Overrides: U2NPCController.HasScript


HearNoiseFriendly

function final HearNoiseFriendly (float Loudness, Actor NoiseMaker)


HearNoiseOther

function final HearNoiseOther (float Loudness, Actor NoiseMaker)


HearNoiseThreat

function final HearNoiseThreat (float Loudness, Actor NoiseMaker)


InheritEnemy

function final InheritEnemy (Pawn NewEnemy)


IsDialogPaused

function bool IsDialogPaused ()


IsRepeatFire

function bool IsRepeatFire (bool bPrimary)


MaybeFire

function MaybeFire (byte bUseAltMode)


PawnDied

function PawnDied ()

Overrides: LicenseeController.PawnDied


Possess

function Possess (Pawn P)

Overrides: LicenseeController.Possess


ReloadScriptController

function ReloadScriptController ()

Overrides: U2NPCController.ReloadScriptController


ResetScriptController

function ResetScriptController ()


ScriptedLanding

function final ScriptedLanding ()


ScriptReset

function ScriptReset ()


SetAimOdds

function SetAimOdds (float Odds)


SetAlert

simulated function SetAlert (bool bNewVal)


SetAmmoTypeStr

function bool SetAmmoTypeStr (string AmmoString)


SetAutoMoveSpeed

function SetAutoMoveSpeed (float NewVal)


SetDirectionalPatrol

function SetDirectionalPatrol (bool bNewVal)


SetDormant

function SetDormant (bool bVal, optional bool bStayDormantVal)

Overrides: U2NPCController.SetDormant


SetHeadTrackingEnabled

function SetHeadTrackingEnabled (bool bVal)


SetHealth

simulated function SetHealth (float NewVal)


SetScript

function SetScript (string NewCommandFileName, optional string NewStartLabel)

Overrides: U2NPCController.SetScript


SetScriptedFocus

simulated function SetScriptedFocus (Actor A)


SetScriptedIdleAnims

function SetScriptedIdleAnims (bool bNewVal)


SetScriptedMoveSpeedMultiplier

function bool SetScriptedMoveSpeedMultiplier (float NewMoveSpeedMultiplier, byte Stance)


SetScriptedTacticalMoveType

function SetScriptedTacticalMoveType (Actor.ETacticalMoveType NewTacticalMoveType)


SetXMPHandlingEnabled

function SetXMPHandlingEnabled (bool bVal)


Shutdown

function Shutdown (bool bVal)

Overrides: U2NPCController.Shutdown


TakeDamage

function final TakeDamage (int Damage, Pawn EventInstigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)


TookDamage

function final TookDamage (int Damage, Pawn Instigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)


Trigger

function Trigger (Actor Other, Pawn Instigator, optional name EventName)

Overrides: Actor.Trigger


TurnToActor

function TurnToActor (Actor A, optional bool bLock)


UnderScriptControl

function bool UnderScriptControl ()

Overrides: U2NPCController.UnderScriptControl


UnuseActor

function UnuseActor (optional Actor A)


UseActor

function UseActor (Actor A)


WhatToDoNext

function WhatToDoNext ()