I don't need to test my programs. I have an error-correcting modem.

UE1:ThingFactory (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE1:EDistribution (UT))
Jump to: navigation, search
UT Object >> Actor >> Keypoint >> ThingFactory
Package: 
UnrealShare
Direct subclass:
CreatureFactory
This class in other games:
RTNP, U1

ThingFactory.

Properties[edit]

Property group 'ThingFactory'[edit]

bCovert[edit]

Type: bool

only do hidden spawns

bFalling[edit]

Type: bool

non-pawn items spawned should be set to falling

Default value: True

bOnlyPlayerTouched[edit]

Type: bool

only player can trigger it

bStoppable[edit]

Type: bool

stops producing when untouched

capacity[edit]

Type: int

max number of items ever buildable (-1 = no limit)

Default value: 1000000

interval[edit]

Type: float

average time interval between spawnings

Default value: 1.0

itemtag[edit]

Type: name

tag given to items produced at this factory

maxitems[edit]

Type: int

max number of items from this factory at any time

Default value: 1

prototype[edit]

Type: class<Actor>

the template class

timeDistribution[edit]

Type: EDistribution


Internal variables[edit]

numitems[edit]

Type: int

current number of items from this factory

numspots[edit]

Type: int

number of spawnspots

spawnspot[edit]

Type: SpawnPoint

Array size: 16

possible start locations

Default values[edit]

Property Value
bCollideActors True
bStatic False

Enums[edit]

EDistribution[edit]

DIST_Constant 
DIST_Uniform 
DIST_Gaussian 

Functions[edit]

Events[edit]

PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions[edit]

StartBuilding[edit]

function StartBuilding ()


States[edit]

Finished[edit]

Spawning[edit]

Spawning.BeginState[edit]

event BeginState ()

Overrides: Object.BeginState (global)


Spawning.Timer[edit]

event Timer ()

Overrides: Actor.Timer (global)


Spawning.Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger (global)


Spawning.UnTouch[edit]

event UnTouch (Actor Other)

Overrides: Actor.UnTouch (global)


Spawning.StartBuilding[edit]

function StartBuilding ()

Overrides: StartBuilding (global)


Spawning.trySpawn[edit]

function bool trySpawn (int start, int end)


Waiting[edit]

Modifiers: auto

Waiting.Touch[edit]

event Touch (Actor Other)

Overrides: Actor.Touch (global)


Waiting.Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger (global)