There is no spoon

UE1:ThingFactory (RTNP)

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

ThingFactory.

Properties

Property group 'ThingFactory'

bCovert

Type: bool

only do hidden spawns

bFalling

Type: bool

non-pawn items spawned should be set to falling

Default value: True

bOnlyPlayerTouched

Type: bool

only player can trigger it

bStoppable

Type: bool

stops producing when untouched

capacity

Type: int

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

Default value: 1000000

interval

Type: float

average time interval between spawnings

Default value: 1.0

itemtag

Type: name

tag given to items produced at this factory

maxitems

Type: int

max number of items from this factory at any time

Default value: 1

prototype

Type: class<Actor>

the template class

timeDistribution

Type: EDistribution


Internal variables

numitems

Type: int

current number of items from this factory

numspots

Type: int

number of spawnspots

spawnspot

Type: SpawnPoint

Array size: 16

possible start locations

Default values

Property Value
bCollideActors True
bStatic False

Enums

EDistribution

DIST_Constant 
DIST_Uniform 
DIST_Gaussian 

Functions

Events

PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions

StartBuilding

function StartBuilding ()


States

Finished

Spawning

Spawning.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


Spawning.Timer

event Timer ()

Overrides: Actor.Timer (global)


Spawning.Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger (global)


Spawning.UnTouch

event UnTouch (Actor Other)

Overrides: Actor.UnTouch (global)


Spawning.StartBuilding

function StartBuilding ()

Overrides: StartBuilding (global)


Spawning.trySpawn

function bool trySpawn (int start, int end)


Waiting

Modifiers: auto

Waiting.Touch

event Touch (Actor Other)

Overrides: Actor.Touch (global)


Waiting.Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger (global)