Legacy:XIntroPawn - Unreal Wiki

# Legacy:XIntroPawn

### From Unreal Wiki, The Unreal Engine Documentation Site

UT2003 :: Actor >> Pawn >> UnrealPawn >> xIntroPawn (Package: XGame)

This is the parent class for Unreal NPC pawns meant for intro, matinee, tutorial and cut scene acting.

## Properties

### Main

vector ShadowDirection
byte ShadowDarkness
string MeshNameString
vector ShadowDirection
byte ShadowDarkness
string MeshNameString

### Hidden

ShadowProjector PawnShadow

## Functions

AddDefaultInventory()
  EMPTY
Destroyed() (simulated)
  If `PawnShadow != None`, call `PawnShadow.Destroy()`. Call `Super.Destroyed()`.
PostBeginPlay() (simulated)
  Call `Super.PostBeginPlay()`. If `Mesh == None` and `MeshNameString != ""`, call `LinkMesh(mesh(DynamicLoadObject(MeshNameString,class'Mesh')))`. If `bShadowCast`, set `PawnShadow = Spawn(class'ShadowProjector',Self,,Location)`, `PawnShadow.ShadowActor = self`, `PawnShadow.RootMotion = True`, `PawnShadow.LightDirection = Normal(ShadowDirection)`, `PawnShadow.LightDistance = 192`, `PawnShadow.MaxTraceDistance = 350`, call `PawnShadow.InitShadow()` and set `PawnShadow.ShadowTexture.ShadowDarkness = ShadowDarkness`.

## Known Subclasses

    xIntroPawn
      +- Intro_Brock
      +- Intro_Crowd
      +- Intro_Fan_Brock
      +- Intro_Fan_Gorge
      +- Intro_Gorge
      +- Intro_Lauren
      +- Intro_Malcom

## Related Topics

- Matinee
- NPC Support

## Discussion

Categories: Legacy Class (UT2003) | Legacy Class (UT2004) | Legacy Class Tree

##### Views

- Legacy
- Discussion
- Current revision

##### Search