UE2:Mutator (U2XMP)
From Unreal Wiki, The Unreal Engine Documentation Site
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. |
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
DefaultWeapon
DefaultWeaponName
Type: string
NextMutator
Type: Mutator
Functions
Events
PreBeginPlay
simulated event PreBeginPlay ()
Overrides: Actor.PreBeginPlay
Other instance functions
AddMutator
function AddMutator (Mutator M)
AlwaysKeep
CheckRelevance
CheckReplacement
GetDefaultWeapon
GetInventoryClass
GetInventoryClassOverride
HandleKillMessage
IsRelevant
ModifyLogin
ModifyPlayer
function ModifyPlayer (Pawn Other)
MyDefaultWeapon
ReplaceWith
ReplaceWithClass