The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:UTMutator_WeaponReplacement (UDK)
From Unreal Wiki, The Unreal Engine Documentation Site
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)
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
Property | Value |
---|---|
ReplacementPrimitive | None |
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]
Overrides: Mutator.CheckReplacement
Returns true to keep this actor