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

UE2:U2AraknidControllerHatched (U2XMP)

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

U2AraknidControllerHatched.

Constants

HatchedState

Value: 'Hatched'


PlayMommySoundTimer

Value: 'PlayMommySound'


Properties

Property group 'U2AraknidControllerHatched'

FollowMommaSeconds

Type: float

time to keep following the player

Default value: 60.0

MaxWanderDistanceFromMomma

Type: float

maximum distance that npc can stray from momma before heading back

Default value: 250.0

MinSelfDestructDistance

Type: float

min distance from player before self destructing

Default value: 2000.0

MommySound

Type: Sound

sound to be played after baby steps to momma

Default value: Sound'U2WeaponsA.LeechGun.LG_SpiderBabyBorn'

Internal variables

bGrownUp

Type: bool


bWalkedToMomma

Type: bool


HatchedTime

Type: float


Momma

Type: Actor


Default values

Property Value
DefaultState Hatched

Functions

Events

Destroyed

event Destroyed ()

Overrides: U2NPCControllerBasic.Destroyed


Other instance functions

HandleSetMoveTargetError

function U2NPCControllerShared.EMoveType HandleSetMoveTargetError (Actor GoalActor, float GoalDistance)

Overrides: U2NPCControllerShared.HandleSetMoveTargetError


NavigationError

function NavigationError (U2Pawn.EErrorType ErrorType, string ErrorMessage)

Overrides: U2NPCController.NavigationError


Trigger

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

Overrides: U2NPCControllerScriptable.Trigger


States

@HatchedState

Extends: U2NPCControllerBasic.@WanderingState

@HatchedState.BeginState

event BeginState ()

Overrides: U2NPCControllerBase.@WanderingState.BeginState


@HatchedState.EndState

event EndState ()

Overrides: U2NPCControllerBase.@WanderingState.EndState


@HatchedState.CanSelfDestruct

function bool CanSelfDestruct ()


@HatchedState.GetWanderDirection

function Object.Vector GetWanderDirection (int FallbackType)

Overrides: U2NPCControllerBase.@WanderingState.GetWanderDirection


@HatchedState.GetWanderDistanceModifier

function float GetWanderDistanceModifier ()

Overrides: U2NPCControllerBase.@WanderingState.GetWanderDistanceModifier


@HatchedState.PickDestination

function bool PickDestination ()

Overrides: U2NPCControllerBasic.@WanderingState.PickDestination


@HatchedState.PlayMommySound

function PlayMommySound ()


@HatchedState.ShouldWanderTowardMomma

function bool ShouldWanderTowardMomma ()


@HatchedState.WanderDidMoveSpecialHandling

function WanderDidMoveSpecialHandling ()

Overrides: U2NPCControllerBase.@WanderingState.WanderDidMoveSpecialHandling