UE2:SpectatorCamera (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
U2XMP Object >> Actor >> Inventory >> SpectatorCamera
Package:
Legend

SpectatorCamera.uc $Author: Mfox $ $Date: 4/30/02 12:22p $ $Revision: 2 $

Description: How to use this class:

Properties

Property group 'SpectatorCamera'

bMaintainLocation

Type: bool


Default value: True

FollowCamOffset

Type: Object.Vector


Default value:

Member Value
X -140.0
Z 80.0

FollowCamSpeedFactor

Type: float


Default value: 2.5

Internal variables

bOn

Type: bool


bUseFollowCam

Type: bool


CurrentCamera

Type: CameraPoint


Focus

Type: Actor


LastCameraLocation

Type: Object.Vector


NPCIndex

Type: int


NPCList

Type: Pawn

Array size: 96


NumNPCs

Type: int


NumPlayers

Type: int


PlayerIndex

Type: int


PlayerList

Type: Pawn

Array size: 32


Viewer

Type: Pawn


Default values

Property Value
bGameRelevant True
CollisionHeight 0.0
CollisionRadius 0.0
ItemName "SpectatorCamera"

Functions

Exec functions

SCFollow

simulated exec function SCFollow ()


SCNextNPC

simulated exec function SCNextNPC ()


SCNextPlayer

simulated exec function SCNextPlayer ()


SCPrevNPC

simulated exec function SCPrevNPC ()


SCPrevPlayer

simulated exec function SCPrevPlayer ()


SCRefresh

simulated exec function SCRefresh ()


ToggleSpectatorCam

simulated exec function ToggleSpectatorCam ()


Events

Tick

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick


Other instance functions

CalcFollowPosition

simulated function CalcFollowPosition ()


GetBestCamera

simulated function CameraPoint GetBestCamera (Actor aFocus)


InitNPCList

simulated function InitNPCList ()


InitPlayerList

simulated function InitPlayerList ()


Possess

simulated function Possess (Pawn InViewer, optional bool bNewMaintainLocation)


SetViewTarget

simulated function SetViewTarget (Pawn InViewer, Actor InTarget)


UnObstructed

simulated function bool UnObstructed (Object.Vector Source, Object.Vector Dest)


UnPossess

simulated function UnPossess (Pawn InViewer)


Use

simulated function Use (float Value)

Overrides: Inventory.Use