I love the smell of UnrealEd crashing in the morning. – tarquin
UE2:GameRules (UE2Runtime)
From Unreal Wiki, The Unreal Engine Documentation Site
Contents
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} 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.
Properties[edit]
NextGameRules[edit]
Type: GameRules
Instance functions[edit]
AddGameRules[edit]
function AddGameRules (GameRules GR)
CheckEndGame[edit]
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 Info.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<DamageType> DamageType)
OverridePickupQuery[edit]
PreventDeath[edit]
function bool PreventDeath (Pawn Killed, Controller Killer, class<DamageType> damageType, Object.Vector HitLocation)
PreventSever[edit]
ScoreKill[edit]
function ScoreKill (Controller Killer, Controller Killed)
ScoreObjective[edit]
function ScoreObjective (PlayerReplicationInfo Scorer, int Score)