Mostly Harmless
UE3:UTMutator_WeaponReplacement (UT3)
From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 02:44, 26 July 2008 by (Talk)
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. |
replaces weapons with other weapons (including ammo) Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
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
No new values.
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
Overrides: Mutator.CheckReplacement
Returns true to keep this actor