I don't need to test my programs. I have an error-correcting modem.

UE2:SpectatorCamera (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
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[edit]

Property group 'SpectatorCamera'[edit]

bMaintainLocation[edit]

Type: bool


Default value: True

FollowCamOffset[edit]

Type: Object.Vector


Default value:

Member Value
X -140.0
Z 80.0

FollowCamSpeedFactor[edit]

Type: float


Default value: 2.5

Internal variables[edit]

bOn[edit]

Type: bool


bUseFollowCam[edit]

Type: bool


CurrentCamera[edit]

Type: CameraPoint


Focus[edit]

Type: Actor


LastCameraLocation[edit]

Type: Object.Vector


NPCIndex[edit]

Type: int


NPCList[edit]

Type: Pawn

Array size: 96


NumNPCs[edit]

Type: int


NumPlayers[edit]

Type: int


PlayerIndex[edit]

Type: int


PlayerList[edit]

Type: Pawn

Array size: 32


Viewer[edit]

Type: Pawn


Default values[edit]

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

Functions[edit]

Exec functions[edit]

SCFollow[edit]

simulated exec function SCFollow ()


SCNextNPC[edit]

simulated exec function SCNextNPC ()


SCNextPlayer[edit]

simulated exec function SCNextPlayer ()


SCPrevNPC[edit]

simulated exec function SCPrevNPC ()


SCPrevPlayer[edit]

simulated exec function SCPrevPlayer ()


SCRefresh[edit]

simulated exec function SCRefresh ()


ToggleSpectatorCam[edit]

simulated exec function ToggleSpectatorCam ()


Events[edit]

Tick[edit]

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick


Other instance functions[edit]

CalcFollowPosition[edit]

simulated function CalcFollowPosition ()


GetBestCamera[edit]

simulated function CameraPoint GetBestCamera (Actor aFocus)


InitNPCList[edit]

simulated function InitNPCList ()


InitPlayerList[edit]

simulated function InitPlayerList ()


Possess[edit]

simulated function Possess (Pawn InViewer, optional bool bNewMaintainLocation)


SetViewTarget[edit]

simulated function SetViewTarget (Pawn InViewer, Actor InTarget)


UnObstructed[edit]

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


UnPossess[edit]

simulated function UnPossess (Pawn InViewer)


Use[edit]

simulated function Use (float Value)

Overrides: Inventory.Use