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

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

AddDefaultInventory[edit]

function AddDefaultInventory (Pawn PlayerPawn)

Overrides: GameInfo.AddDefaultInventory


AllocateGameAIControllers[edit]

function AllocateGameAIControllers ()


AllocateSoundSlotTimerList[edit]

function AllocateSoundSlotTimerList ()


DecActiveRagDollDeaths[edit]

function DecActiveRagDollDeaths ()

Overrides: GameInfo.DecActiveRagDollDeaths


ForceAddBot[edit]

function bool ForceAddBot ()


GameEvent[edit]

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


GetActiveRagDollDeaths[edit]

function int GetActiveRagDollDeaths ()

Overrides: GameInfo.GetActiveRagDollDeaths


GetDamageByPlayerScalar[edit]

function float GetDamageByPlayerScalar ()

Overrides: GameInfo.GetDamageByPlayerScalar


GetDamageToPlayerScalar[edit]

function float GetDamageToPlayerScalar ()

Overrides: GameInfo.GetDamageToPlayerScalar


GetMaxRagDollDeaths[edit]

function int GetMaxRagDollDeaths ()

Overrides: GameInfo.GetMaxRagDollDeaths


GetObjectives[edit]

function array<stringGetObjectives ()


GetRagdollDetailLevel[edit]

function int GetRagdollDetailLevel ()

Overrides: GameInfo.GetRagdollDetailLevel


GetSoundSlotTimerList[edit]

function SoundSlotTimerListImpl GetSoundSlotTimerList (name Tag)


GetTeam[edit]

function TeamInfo GetTeam (int InTeamNumber)


IncActiveRagDollDeaths[edit]

function IncActiveRagDollDeaths ()

Overrides: GameInfo.IncActiveRagDollDeaths


NotifyCutSceneEnd[edit]

function NotifyCutSceneEnd ()

Overrides: GameInfo.NotifyCutSceneEnd


NotifyCutSceneStart[edit]

function NotifyCutSceneStart ()

Overrides: GameInfo.NotifyCutSceneStart


NotifyKilled[edit]

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

Overrides: DialogGameInfo.NotifyKilled


PlaySpawnEffect[edit]

function float PlaySpawnEffect (Pickup Inv)

Overrides: GameInfo.PlaySpawnEffect


PlayTeleportEffect[edit]

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

Overrides: GameInfo.PlayTeleportEffect


ReduceDamage[edit]

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

Overrides: GameInfo.ReduceDamage


ReduceFriendlyDamage[edit]

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


RestartPlayer[edit]

function RestartPlayer (Controller aPlayer)

Overrides: GameInfo.RestartPlayer


ScaleDamageByPlayer[edit]

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


ScaleDamageToPlayer[edit]

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


ScoreReplicatorShutdown[edit]

function ScoreReplicatorShutdown (Pawn Other)


SetDifficulty[edit]

function SetDifficulty (byte _Difficulty)

Overrides: GameInfo.SetDifficulty


SetPlayerDefaults[edit]

function SetPlayerDefaults (Pawn PlayerPawn)

Overrides: GameInfo.SetPlayerDefaults


ShouldRespawn[edit]

function bool ShouldRespawn (Pickup Other)

Overrides: GameInfo.ShouldRespawn


SpawnWait[edit]

function float SpawnWait (U2NPCController aNPC)


TooManyBots[edit]

function bool TooManyBots ()


UpdateObjective[edit]

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