My program doesn't have bugs. It just develops random features.

UE2:GameRules (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2003 Object >> Actor >> Info >> GameRules

Contents

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.

[edit] Properties

[edit] NextGameRules

Type: GameRules


[edit] Instance functions

[edit] AddGameRules

function AddGameRules (GameRules GR)


[edit] CheckEndGame

function bool CheckEndGame (PlayerReplicationInfo Winner, string Reason)


[edit] CheckScore

function bool CheckScore (PlayerReplicationInfo Scorer)


[edit] CriticalPlayer

function bool CriticalPlayer (Controller Other)


[edit] FindPlayerStart

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


[edit] GetRules

function string GetRules ()


[edit] GetServerDetails

function GetServerDetails (out GameInfo.ServerResponseLine ServerState)


[edit] HandleRestartGame

function bool HandleRestartGame ()


[edit] NetDamage

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


[edit] OverridePickupQuery

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


[edit] PreventDeath

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


[edit] PreventSever

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


[edit] ScoreKill

function ScoreKill (Controller Killer, Controller Killed)


[edit] ScoreObjective

function ScoreObjective (PlayerReplicationInfo Scorer, int Score)


Personal tools