There is no spoon

UE3:UTMutator_WeaponReplacement (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Actor >> Info >> Mutator >> UTMutator >> UTMutator_WeaponReplacement
Package: 
UTGame
This class in other games:
UT3

replaces weapons with other weapons (including ammo)

Properties

AmmoToReplace

Type: array<ReplacementInfo>

Modifiers: config


WeaponsToReplace

Type: array<ReplacementInfo>

Modifiers: config

P.CreateInventory(class'UTGame.UTBerserk');

Default values

Property Value
GroupNames[0] "WEAPONMOD"

Subobjects

Sprite

Class: Engine.SpriteComponent

Inherits from: UTMutator.Sprite

Property Value
ReplacementPrimitive None

Structs

ReplacementInfo

name OldClassName 
class name of the weapon we want to get rid of
string NewClassPath 
fully qualified path of the class to replace it with

Functions

Events

PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions

CheckReplacement

function bool CheckReplacement (Actor Other)

Overrides: Mutator.CheckReplacement

Returns true to keep this actor