Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:GameRules (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> GameRules
Package: 
Engine
Direct subclasses:
SpeciesGameRules, BigHeadRules, BigWheelsRules, UDamageRules, UTClassicGameRules, VampireGameRules, VehiclePickupRules
Known custom subclasses:
Crusha/DynamicWeather, Crusha/DynamicWeather/DWAmbientMonster
This class in other games:
UT2003, U2XMP, U2, UE2Runtime, UT3

GameRules.

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

Properties

NextGameRules

Type: GameRules


Instance functions

AddGameRules

function AddGameRules (GameRules GR)


CheckEndGame

function bool CheckEndGame (PlayerReplicationInfo Winner, string Reason)


CheckScore

function bool CheckScore (PlayerReplicationInfo Scorer)


CriticalPlayer

function bool CriticalPlayer (Controller Other)


FindPlayerStart

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


GetRules

function string GetRules ()


GetServerDetails

function GetServerDetails (out GameInfo.ServerResponseLine ServerState)


HandleRestartGame

function bool HandleRestartGame ()


NetDamage

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


OverridePickupQuery

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


PreventDeath

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


PreventSever

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


ScoreKill

function ScoreKill (Controller Killer, Controller Killed)


ScoreObjective

function ScoreObjective (PlayerReplicationInfo Scorer, int Score)