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

UE2:GameRules (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site

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

Contents

Package: 
Engine
Direct subclasses:
HitSound, ShowDamageInfo
This class in other games:
U2, UE2Runtime, UT2003, 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] FindPlayerStart

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


[edit] GetRules

function string GetRules ()


[edit] HandleRestartGame

function bool HandleRestartGame ()


[edit] NetDamage

function int NetDamage (int OriginalDamage, int Damage, Pawn injured, Pawn instigatedBy, Object.Vector HitLocation, 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] ScoreKill

function ScoreKill (Controller Killer, Controller Killed)


[edit] ScoreObjective

function ScoreObjective (PlayerReplicationInfo Scorer, int Score)


Personal tools