Cogito, ergo sum

UE2:GameRules (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> Info >> GameRules
Package: 
Engine
Direct subclasses:
BigHeadRules, SpeciesGameRules, UTClassicGameRules, VampireGameRules
This class in other games:
U2, U2XMP, UE2Runtime, UT2004, UT3

GameRules.

The GameRules class handles game rule modifications for the GameInfo such as scoring, finding player starts, and damage modification.

Properties[edit]

NextGameRules[edit]

Type: GameRules


Instance functions[edit]

AddGameRules[edit]

function AddGameRules (GameRules GR)


CheckEndGame[edit]

function bool CheckEndGame (PlayerReplicationInfo Winner, string Reason)


CheckScore[edit]

function bool CheckScore (PlayerReplicationInfo Scorer)


CriticalPlayer[edit]

function bool CriticalPlayer (Controller Other)


FindPlayerStart[edit]

function NavigationPoint FindPlayerStart (Controller Player, optional byte InTeam, optional string incomingName)


GetRules[edit]

function string GetRules ()


GetServerDetails[edit]

function GetServerDetails (out GameInfo.ServerResponseLine ServerState)


HandleRestartGame[edit]

function bool HandleRestartGame ()


NetDamage[edit]

function int NetDamage (int OriginalDamage, int Damage, Pawn injured, Pawn instigatedBy, Object.Vector HitLocation, out Object.Vector Momentum, class<DamageTypeDamageType)


OverridePickupQuery[edit]

function bool OverridePickupQuery (Pawn Other, Pickup item, out byte bAllowPickup)


PreventDeath[edit]

function bool PreventDeath (Pawn Killed, Controller Killer, class<DamageTypedamageType, Object.Vector HitLocation)


PreventSever[edit]

function bool PreventSever (Pawn Killed, name boneName, int Damage, class<DamageTypeDamageType)


ScoreKill[edit]

function ScoreKill (Controller Killer, Controller Killed)


ScoreObjective[edit]

function ScoreObjective (PlayerReplicationInfo Scorer, int Score)