UE3:Mutator (UT3)
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(), 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. Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
Properties
Property group 'Mutator'
GroupNames
list of groups this mutator is in. Mutators that share any group cannot be activated simultaneously
Internal variables
bUserAdded
Type: bool
NextMutator
Type: Mutator
Default values
Property | Value |
---|---|
CollisionType | COLLIDE_CustomDefault |
Subobjects
Sprite
Class: Engine.SpriteComponent
Inherits from: Info.Sprite
No new values.
Functions
Events
Destroyed
Overrides: Actor.Destroyed
PreBeginPlay
Overrides: Actor.PreBeginPlay
Other instance functions
AddMutator
AllowBecomeActivePlayer
AllowBecomeSpectator
AllowChangeTeam
AlwaysKeep
CanLeaveVehicle
CheckRelevance
CheckReplacement
Returns true to keep this actor
DriverEnteredVehicle
DriverLeftVehicle
GetSeamlessTravelActorList
called on the server during seamless level transitions to get the list of Actors that should be moved into the new level PlayerControllers, Role < ROLE_Authority Actors, and any non-Actors that are inside an Actor that is in the list (i.e. Object.Outer == Actor in the list) are all automatically moved regardless of whether they're included here only dynamic (!bStatic and !bNoDelete) actors in the PersistentLevel may be moved (this includes all actors spawned during gameplay) this is called for both parts of the transition because actors might change while in the middle (e.g. players might join or leave the game)
Parameters:
- bToEntry - true if we are going from old level -> entry, false if we are going from entry -> new level
- ActorList - out) list of actors to maintain
GetServerDetails
GetServerPlayers
InitMutator
This function can be used to parse the command line parameters when a server starts up
IsRelevant
ModifyLogin
ModifyPlayer
Mutate
MutatorIsAllowed
NotifyBecomeActivePlayer
NotifyBecomeSpectator
NotifyLogin
NotifyLogout
NotifySetTeam
ParseChatPercVar