I don't need to test my programs. I have an error-correcting modem.
UE2:GameRules (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
Contents |
- Package:
- Engine
- Direct subclasses:
- BigHeadRules, BigWheelsRules, SpeciesGameRules, UDamageRules, UTClassicGameRules, VampireGameRules, VehiclePickupRules
- This class in other games:
- U2, U2XMP, UE2Runtime, UT2003, UT3
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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
[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<DamageType> DamageType)
[edit] OverridePickupQuery
[edit] PreventDeath
function bool PreventDeath (Pawn Killed, Controller Killer, class<DamageType> damageType, Object.Vector HitLocation)
[edit] PreventSever
[edit] ScoreKill
function ScoreKill (Controller Killer, Controller Killed)
[edit] ScoreObjective
function ScoreObjective (PlayerReplicationInfo Scorer, int Score)
