I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:U2TutorialGameInfo (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Info >> GameInfo >> DialogGameInfo >> U2GameInfo >> U2TutorialGameInfo
Package: 
U2

$Workfile: U2TutorialGameInfo.uc $ Created By: Matthias Worch Created On: 8/3/2002 $Author: Mbaldwin $ $Date: 12/15/02 3:27a $ $Revision: 20 $

Constants

PlayerName

Value: "Marshal"


OpponentName

Value: "Raff"


TutorialPlayerWonEvent

Value: 'TutorialPlayerWon'


TutorialPlayerLostEvent

Value: 'TutorialPlayerLost'


TutorialScoreboardOnEvent

Value: "TutorialScoreboardOn"


TutorialScoreboardOffEvent

Value: "TutorialScoreboardOff"


OpponentKillTauntTimer

Value: 'OpponentKillTaunt'


Properties

bRunning

Type: bool

whether the match is underway

NumKillsToWin

Type: int

score needed to win the match

Default value: 5

OpponentClassName

Type: name

pawn class of player's opponent

Default value: RaffTrainingBot

OpponentKillTauntDelay

Type: float


Default value: 1.2

OpponentScore

Type: int

number of times the player has died

PlayerScore

Type: int

number of times the player's opponent has died

Default values

Property Value
bDisplayHud False
bGiveDefaultWeapon False

Functions

Events

Destroyed

event Destroyed ()

Overrides: U2GameInfo.Destroyed


NotifyLevelChange

event NotifyLevelChange ()

Overrides: U2GameInfo.NotifyLevelChange


Other instance functions

AdjustPawnClass

function AdjustPawnClass (out string InClass)

Overrides: GameInfo.AdjustPawnClass


EndTutorialDeathMatch

function EndTutorialDeathMatch (bool bPlayerWon)


GetOpponentName

function string GetOpponentName ()


GetOpponentPawn

function Pawn GetOpponentPawn ()


GetOpponentScoreStr

function string GetOpponentScoreStr ()


GetPlayerName

function string GetPlayerName ()


GetPlayerScoreStr

function string GetPlayerScoreStr ()


HandleKilledSounds

function HandleKilledSounds (Pawn Victim, Pawn Killer)


HideScores

function HideScores ()


Killed

function Killed (Controller Killer, Controller Killed, Pawn KilledPawn, class<DamageTypedamageType)

Overrides: GameInfo.Killed


NotifyOpponentDied

function NotifyOpponentDied (Pawn KilledPawn, Pawn Instigator)


NotifyPlayerDied

function NotifyPlayerDied (Pawn KilledPawn, Pawn Instigator)


OpponentKillTaunt

function OpponentKillTaunt ()


ResetPlayerHealth

function ResetPlayerHealth ()


ResetScores

function ResetScores ()


ShouldRespawn

function bool ShouldRespawn (Pickup Other)

Overrides: U2GameInfo.ShouldRespawn


ShowScores

function ShowScores ()


StartTutorialDeathMatch

function StartTutorialDeathMatch ()


Trigger

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

Overrides: Actor.Trigger