UE2:GameRules (U2XMP)
From Unreal Wiki, The Unreal Engine Documentation Site
- Package:
- Engine
- Direct subclasses:
- HitSound, ShowDamageInfo
- This class in other games:
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
NextGameRules
Type: GameRules
Instance functions
AddGameRules
function AddGameRules (GameRules GR)
CheckEndGame
CheckScore
function bool CheckScore (PlayerReplicationInfo Scorer)
FindPlayerStart
function NavigationPoint FindPlayerStart (Controller Player, optional byte InTeam, optional string incomingName)
GetRules
function string GetRules ()
HandleRestartGame
function bool HandleRestartGame ()
NetDamage
function int NetDamage (int OriginalDamage, int Damage, Pawn injured, Pawn instigatedBy, Object.Vector HitLocation, Object.Vector Momentum, class<DamageType> DamageType)
OverridePickupQuery
PreventDeath
function bool PreventDeath (Pawn Killed, Controller Killer, class<DamageType> damageType, Object.Vector HitLocation)
ScoreKill
function ScoreKill (Controller Killer, Controller Killed)
ScoreObjective
function ScoreObjective (PlayerReplicationInfo Scorer, int Score)