UE2:Mutator (U2)
- Package:
- Engine
- 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. |
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() function of all actors except those (Decals, Effects and Projectiles for performance reasons) which have bGameRelevant==true.
Properties
Property group 'Mutator'
Description
Type: string
Modifiers: localized
Default value: "Description"
FriendlyName
Type: string
Modifiers: localized
Default value: "Mutator"
GroupName
Type: string
Will only allow one mutator with this tag to be selected.
Internal variables
bUserAdded
Type: bool
DefaultWeapon
DefaultWeaponName
Type: string
NextMutator
Type: Mutator
Functions
Events
Destroyed
Overrides: Actor.Destroyed
PreBeginPlay
Overrides: Actor.PreBeginPlay
Other instance functions
AddMutator
AlwaysKeep
CheckRelevance
CheckReplacement
GetDefaultWeapon
GetInventoryClass
GetInventoryClassOverride
GetServerDetails
GetServerPlayers
IsRelevant
ModifyLogin
ModifyPlayer
Mutate
MutatorIsAllowed
MyDefaultWeapon
ParseChatPercVar
PlayerChangedClass
ReplaceWith
ServerTraveling