The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:U2GameInfo instance functions (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Info >> GameInfo >> DialogGameInfo >> U2GameInfo (instance functions)

Instance functions

AddDefaultInventory

function AddDefaultInventory (Pawn PlayerPawn)

Overrides: GameInfo.AddDefaultInventory


AllocateGameAIControllers

function AllocateGameAIControllers ()


AllocateSoundSlotTimerList

function AllocateSoundSlotTimerList ()


DecActiveRagDollDeaths

function DecActiveRagDollDeaths ()

Overrides: GameInfo.DecActiveRagDollDeaths


ForceAddBot

function bool ForceAddBot ()


GameEvent

function GameEvent (name EventName, Actor Instigator, optional Actor OtherActor, optional name OtherInfo)


GetActiveRagDollDeaths

function int GetActiveRagDollDeaths ()

Overrides: GameInfo.GetActiveRagDollDeaths


GetDamageByPlayerScalar

function float GetDamageByPlayerScalar ()

Overrides: GameInfo.GetDamageByPlayerScalar


GetDamageToPlayerScalar

function float GetDamageToPlayerScalar ()

Overrides: GameInfo.GetDamageToPlayerScalar


GetMaxRagDollDeaths

function int GetMaxRagDollDeaths ()

Overrides: GameInfo.GetMaxRagDollDeaths


GetObjectives

function array<stringGetObjectives ()


GetRagdollDetailLevel

function int GetRagdollDetailLevel ()

Overrides: GameInfo.GetRagdollDetailLevel


GetSoundSlotTimerList

function SoundSlotTimerListImpl GetSoundSlotTimerList (name Tag)


GetTeam

function TeamInfo GetTeam (int InTeamNumber)


IncActiveRagDollDeaths

function IncActiveRagDollDeaths ()

Overrides: GameInfo.IncActiveRagDollDeaths


NotifyCutSceneEnd

function NotifyCutSceneEnd ()

Overrides: GameInfo.NotifyCutSceneEnd


NotifyCutSceneStart

function NotifyCutSceneStart ()

Overrides: GameInfo.NotifyCutSceneStart


NotifyKilled

function NotifyKilled (Controller Killer, Controller Killed, Pawn KilledPawn, class<DamageTypeDamageType)

Overrides: DialogGameInfo.NotifyKilled


PlaySpawnEffect

function float PlaySpawnEffect (Pickup Inv)

Overrides: GameInfo.PlaySpawnEffect


PlayTeleportEffect

function PlayTeleportEffect (Actor Incoming, bool bOut, bool bSound)

Overrides: GameInfo.PlayTeleportEffect


ReduceDamage

function int ReduceDamage (int Damage, Pawn Injured, Pawn Instigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: GameInfo.ReduceDamage


ReduceFriendlyDamage

function int ReduceFriendlyDamage (int Damage, Pawn Injured, Pawn Instigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)


RestartPlayer

function RestartPlayer (Controller aPlayer)

Overrides: GameInfo.RestartPlayer


ScaleDamageByPlayer

function int ScaleDamageByPlayer (int Damage, Pawn Injured, Pawn Instigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)


ScaleDamageToPlayer

function int ScaleDamageToPlayer (int Damage, Pawn Injured, Pawn Instigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)


ScoreReplicatorShutdown

function ScoreReplicatorShutdown (Pawn Other)


SetDifficulty

function SetDifficulty (byte _Difficulty)

Overrides: GameInfo.SetDifficulty


SetPlayerDefaults

function SetPlayerDefaults (Pawn PlayerPawn)

Overrides: GameInfo.SetPlayerDefaults


ShouldRespawn

function bool ShouldRespawn (Pickup Other)

Overrides: GameInfo.ShouldRespawn


SpawnWait

function float SpawnWait (U2NPCController aNPC)


TooManyBots

function bool TooManyBots ()


UpdateObjective

function UpdateObjective (name Tag, LevelInfo.ELevelObjectiveStatus Status, Sound NotifySound)