Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
UE2:Mutator (U2XMP)
From Unreal Wiki, The Unreal Engine Documentation Site
Contents
- 1 Properties
- 2 Functions
- 2.1 Events
- 2.2 Other instance functions
- 2.2.1 AddMutator
- 2.2.2 AlwaysKeep
- 2.2.3 CheckRelevance
- 2.2.4 CheckReplacement
- 2.2.5 GetDefaultWeapon
- 2.2.6 GetInventoryClass
- 2.2.7 GetInventoryClassOverride
- 2.2.8 HandleKillMessage
- 2.2.9 IsRelevant
- 2.2.10 ModifyLogin
- 2.2.11 ModifyPlayer
- 2.2.12 MyDefaultWeapon
- 2.2.13 ReplaceWith
- 2.2.14 ReplaceWithClass
- Package:
- Engine
- Direct subclass:
- U2Mutator
- This class in other games:
- RTNP, U1, UT, U2, UE2Runtime, UT2003, UT2004, UT3, UDK
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)