My program doesn't have bugs. It just develops random features.

Difference between revisions of "UE3:ActorFactory (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
 
(Talk)
Line 8: Line 8:
  
 
==Properties==
 
==Properties==
 +
====AlternateMenuPriority====
 +
'''Type:''' [[int]]
 +
 +
'''[[Variables#Modifiers|Modifiers]]:''' config
 +
 +
Alternate value for menu priority; Used to allow things like modifier keys to access items in a different order.
 +
 +
'''Default value:''' 10
 +
 
====bPlaceable====
 
====bPlaceable====
 
'''Type:''' [[bool]]
 
'''Type:''' [[bool]]
Line 18: Line 27:
 
'''Type:''' [[class]]<{{cl|Actor}}>
 
'''Type:''' [[class]]<{{cl|Actor}}>
  
<!-- enter variable description -->
+
class to spawn during gameplay; only used if NewActorClass is left at the default
  
 
====MenuName====
 
====MenuName====

Revision as of 06:24, 17 January 2010

UDK Object >> ActorFactory
Package: 
Engine
Direct subclasses:
ActorFactoryActor, ActorFactoryAI, ActorFactoryAmbientSound, ActorFactoryAmbientSoundSimple, ActorFactoryArchetype, ActorFactoryCoverLink, ActorFactoryDecal, ActorFactoryDominantDirectionalLight, ActorFactoryDynamicSM, ActorFactoryEmitter, ActorFactoryFogVolumeConstantDensityInfo, ActorFactoryFracturedStaticMesh, ActorFactoryLensFlare, ActorFactoryLight, ActorFactoryPathNode, ActorFactoryPhysicsAsset, ActorFactoryPhysXDestructible, ActorFactoryPlayerStart, ActorFactoryPylon, ActorFactorySkeletalMesh, ActorFactoryStaticMesh, ActorFactoryTrigger, ActorFactoryVehicle, SpeedTreeActorFactory, UTActorFactoryPickup
This class in other games:
U2XMP, UT3


Properties

AlternateMenuPriority

Type: int

Modifiers: config

Alternate value for menu priority; Used to allow things like modifier keys to access items in a different order.

Default value: 10

bPlaceable

Type: bool

Whether to appear on menu (or this Factory only used through scripts etc.)

Default value: True

GameplayActorClass

Type: class<Actor>

class to spawn during gameplay; only used if NewActorClass is left at the default

MenuName

Type: string

Name used as basis for 'New Actor' menu.

Default value: "Add Actor"

MenuPriority

Type: int

Modifiers: config

Indicates how far up the menu item should be. The higher the number, the higher up the list.

Default value: 10

NewActorClass

Type: class<Actor>

Actor subclass this ActorFactory creates.

Default value: Class'Engine.Actor'

Events

PostCreateActor

simulated event PostCreateActor (Actor NewActor)

Allows script to modify new actor