Gah - a solution with more questions. – EntropicLqd

UE3:UTMutator_WeaponReplacement (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 01:21, 26 July 2008 by Wormbo (Talk | contribs) (1 revision)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> Actor >> Info >> Mutator >> UTMutator >> UTMutator_WeaponReplacement
Package: 
UTGame
This class in other games:
UDK

replaces weapons with other weapons (including ammo) Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Properties[edit]

AmmoToReplace[edit]

Type: array<ReplacementInfo>

Modifiers: config


WeaponsToReplace[edit]

Type: array<ReplacementInfo>

Modifiers: config

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

Default values[edit]

Property Value
GroupNames[0] "WEAPONMOD"

Subobjects[edit]

Sprite[edit]

Class: Engine.SpriteComponent

Inherits from: UTMutator.Sprite

No new values.

Structs[edit]

ReplacementInfo[edit]

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[edit]

Events[edit]

PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions[edit]

CheckReplacement[edit]

function bool CheckReplacement (Actor Other)

Overrides: Mutator.CheckReplacement

Returns true to keep this actor