Always snap to grid

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[edit]

PlayerName[edit]

Value: "Marshal"


OpponentName[edit]

Value: "Raff"


TutorialPlayerWonEvent[edit]

Value: 'TutorialPlayerWon'


TutorialPlayerLostEvent[edit]

Value: 'TutorialPlayerLost'


TutorialScoreboardOnEvent[edit]

Value: "TutorialScoreboardOn"


TutorialScoreboardOffEvent[edit]

Value: "TutorialScoreboardOff"


OpponentKillTauntTimer[edit]

Value: 'OpponentKillTaunt'


Properties[edit]

bRunning[edit]

Type: bool

whether the match is underway

NumKillsToWin[edit]

Type: int

score needed to win the match

Default value: 5

OpponentClassName[edit]

Type: name

pawn class of player's opponent

Default value: RaffTrainingBot

OpponentKillTauntDelay[edit]

Type: float


Default value: 1.2

OpponentScore[edit]

Type: int

number of times the player has died

PlayerScore[edit]

Type: int

number of times the player's opponent has died

Default values[edit]

Property Value
bDisplayHud False
bGiveDefaultWeapon False

Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: U2GameInfo.Destroyed


NotifyLevelChange[edit]

event NotifyLevelChange ()

Overrides: U2GameInfo.NotifyLevelChange


Other instance functions[edit]

AdjustPawnClass[edit]

function AdjustPawnClass (out string InClass)

Overrides: GameInfo.AdjustPawnClass


EndTutorialDeathMatch[edit]

function EndTutorialDeathMatch (bool bPlayerWon)


GetOpponentName[edit]

function string GetOpponentName ()


GetOpponentPawn[edit]

function Pawn GetOpponentPawn ()


GetOpponentScoreStr[edit]

function string GetOpponentScoreStr ()


GetPlayerName[edit]

function string GetPlayerName ()


GetPlayerScoreStr[edit]

function string GetPlayerScoreStr ()


HandleKilledSounds[edit]

function HandleKilledSounds (Pawn Victim, Pawn Killer)


HideScores[edit]

function HideScores ()


Killed[edit]

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

Overrides: GameInfo.Killed


NotifyOpponentDied[edit]

function NotifyOpponentDied (Pawn KilledPawn, Pawn Instigator)


NotifyPlayerDied[edit]

function NotifyPlayerDied (Pawn KilledPawn, Pawn Instigator)


OpponentKillTaunt[edit]

function OpponentKillTaunt ()


ResetPlayerHealth[edit]

function ResetPlayerHealth ()


ResetScores[edit]

function ResetScores ()


ShouldRespawn[edit]

function bool ShouldRespawn (Pickup Other)

Overrides: U2GameInfo.ShouldRespawn


ShowScores[edit]

function ShowScores ()


StartTutorialDeathMatch[edit]

function StartTutorialDeathMatch ()


Trigger[edit]

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

Overrides: Actor.Trigger