UE2:ActorFactory (U2XMP)
- Package:
- U2
- Direct subclass:
- PawnFactory
- This class in other games:
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. |
ActorFactory.uc $Author: Mfox $ $Date: 12/04/02 4:25p $ $Revision: 17 $
Properties
Property group 'ActorFactory'
bCanRestart
Type: bool
if true factory will restock itself when empty and can be triggered again
bCovert
Type: bool
only do hidden spawns
bCycleSpawnPoints
Type: bool
if true, tries to use each spawn point in order (instead of randomly)
bNonPrototypeTriggerKillAll
Type: bool
trigger from anything but spawned type kills all the spawned objects
bNonPrototypeTriggerShutdown
Type: bool
trigger from anything but spawned type shuts down the factory
Default value: True
bOnlyPlayerTouched
Type: bool
only player can trigger it
bStoppable
Type: bool
stops producing when untouched
bTouchEnabled
Type: bool
(true) if false, factory not triggered via touch
Default value: True
bTriggerManually
Type: bool
spawn maxitems when triggered and then go back to waiting
Capacity
Type: int
max number of items ever buildable (-1 = no limit)
Default value: 1000000
DepletedEvent
Type: name
event to trigger when factory has been depleted
FlipCovertCount
Type: int
after this many NPCs are spawned, flips the covertness of the factory (permanently)
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
the template class
TimeDistribution
Type: EDistribution
randomisation of time interval
Internal variables
InitialCapacity
Type: int
NextSpawnPoint
Type: int
Modifiers: private
next spawn point to use if bCycleSpawnPoints
NumSpawnedItems
Type: int
Modifiers: private
current number of items from this factory
NumSpawnPoints
Type: int
Modifiers: private
number of spawnspots
SpawnSpots
Type: SpawnPoint
Array size: 16
Modifiers: private
possible start locations
Default values
Property | Value |
---|---|
bCollideActors | True |
bStatic | False |
Enums
EDistribution
- DIST_Constant
- DIST_Uniform
- DIST_Gaussian
Functions
Events
PostBeginPlay
Overrides: Actor.PostBeginPlay
Other instance functions
DumpInfo
GetSpawnSpot
HandleSpawneeDeath
KillAll
StartBuilding
States
Finished
Finished.Trigger
Overrides: Actor.Trigger (global)
Spawning
Spawning.BeginState
Overrides: Object.BeginState (global)
Spawning.Timer
Overrides: Actor.Timer (global)
Spawning.UnTouch
Overrides: Actor.UnTouch (global)
Spawning.StartBuilding
Overrides: StartBuilding (global)
Spawning.Trigger
Overrides: Actor.Trigger (global)
Spawning.TrySpawn
Waiting
Modifiers: auto
Waiting.Touch
Overrides: Actor.Touch (global)
Waiting.Trigger
Overrides: Actor.Trigger (global)