I don't need to test my programs. I have an error-correcting modem.

UE2:Mutator (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Info >> Mutator
Package: 
Engine
Direct subclass:
U2Mutator
This class in other games:
RTNP, U1, UT, U2, UE2Runtime, UT2003, UT2004, UT3, UDK

Mutator.

Mutators allow modifications to gameplay while keeping the game rules intact. Mutators are given the opportunity to modify player login parameters with ModifyLogin(), to modify player pawn properties with ModifyPlayer(), to change the default weapon for players with GetDefaultWeapon(), or to modify, remove, or replace all other actors when they are spawned with CheckRelevance(), which is called from the PreBeginPlay() event of all actors except those (Decals, Effects and Projectiles for performance reasons) which have bGameRelevant==true.

Properties[edit]

DefaultWeapon[edit]

Type: class<Weapon>


DefaultWeaponName[edit]

Type: string


NextMutator[edit]

Type: Mutator


Functions[edit]

Events[edit]

PreBeginPlay[edit]

simulated event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Other instance functions[edit]

AddMutator[edit]

function AddMutator (Mutator M)


AlwaysKeep[edit]

function bool AlwaysKeep (Actor Other)


CheckRelevance[edit]

function bool CheckRelevance (Actor Other)


CheckReplacement[edit]

function bool CheckReplacement (Actor Other, out byte bSuperRelevant)


GetDefaultWeapon[edit]

function class<WeaponGetDefaultWeapon ()


GetInventoryClass[edit]

function class<InventoryGetInventoryClass (string InventoryClassName)


GetInventoryClassOverride[edit]

function string GetInventoryClassOverride (string InventoryClassName)


HandleKillMessage[edit]

function bool HandleKillMessage (Pawn Killer, Pawn Other, class<DamageTypeDamageType)


IsRelevant[edit]

function bool IsRelevant (Actor Other, out byte bSuperRelevant)


ModifyLogin[edit]

function ModifyLogin (out string Portal, out string Options)


ModifyPlayer[edit]

function ModifyPlayer (Pawn Other)


MyDefaultWeapon[edit]

function class<WeaponMyDefaultWeapon ()


ReplaceWith[edit]

function bool ReplaceWith (Actor Other, string aClassName)


ReplaceWithClass[edit]

function bool ReplaceWithClass (Actor Other, class<ActoraClass)