Mostly Harmless
UE2:ActorFactory (U2XMP)
Contents
- 1 Properties
- 1.1 Property group 'ActorFactory'
- 1.1.1 bCanRestart
- 1.1.2 bCovert
- 1.1.3 bCycleSpawnPoints
- 1.1.4 bNonPrototypeTriggerKillAll
- 1.1.5 bNonPrototypeTriggerShutdown
- 1.1.6 bOnlyPlayerTouched
- 1.1.7 bStoppable
- 1.1.8 bTouchEnabled
- 1.1.9 bTriggerManually
- 1.1.10 Capacity
- 1.1.11 DepletedEvent
- 1.1.12 FlipCovertCount
- 1.1.13 Interval
- 1.1.14 ItemTag
- 1.1.15 MaxItems
- 1.1.16 Prototype
- 1.1.17 TimeDistribution
- 1.2 Internal variables
- 1.3 Default values
- 1.1 Property group 'ActorFactory'
- 2 Enums
- 3 Functions
- 4 States
- Package:
- U2
- Direct subclass:
- PawnFactory
- This class in other games:
- UT3, UDK
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[edit]
Property group 'ActorFactory'[edit]
bCanRestart[edit]
Type: bool
if true factory will restock itself when empty and can be triggered again
bCovert[edit]
Type: bool
only do hidden spawns
bCycleSpawnPoints[edit]
Type: bool
if true, tries to use each spawn point in order (instead of randomly)
bNonPrototypeTriggerKillAll[edit]
Type: bool
trigger from anything but spawned type kills all the spawned objects
bNonPrototypeTriggerShutdown[edit]
Type: bool
trigger from anything but spawned type shuts down the factory
Default value: True
bOnlyPlayerTouched[edit]
Type: bool
only player can trigger it
bStoppable[edit]
Type: bool
stops producing when untouched
bTouchEnabled[edit]
Type: bool
(true) if false, factory not triggered via touch
Default value: True
bTriggerManually[edit]
Type: bool
spawn maxitems when triggered and then go back to waiting
Capacity[edit]
Type: int
max number of items ever buildable (-1 = no limit)
Default value: 1000000
DepletedEvent[edit]
Type: name
event to trigger when factory has been depleted
FlipCovertCount[edit]
Type: int
after this many NPCs are spawned, flips the covertness of the factory (permanently)
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]
the template class
TimeDistribution[edit]
Type: EDistribution
randomisation of time interval
Internal variables[edit]
InitialCapacity[edit]
Type: int
NextSpawnPoint[edit]
Type: int
Modifiers: private
next spawn point to use if bCycleSpawnPoints
NumSpawnedItems[edit]
Type: int
Modifiers: private
current number of items from this factory
NumSpawnPoints[edit]
Type: int
Modifiers: private
number of spawnspots
SpawnSpots[edit]
Type: SpawnPoint
Array size: 16
Modifiers: private
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]
Overrides: Actor.PostBeginPlay
Other instance functions[edit]
DumpInfo[edit]
GetSpawnSpot[edit]
HandleSpawneeDeath[edit]
KillAll[edit]
StartBuilding[edit]
States[edit]
Finished[edit]
Finished.Trigger[edit]
Overrides: Actor.Trigger (global)
Spawning[edit]
Spawning.BeginState[edit]
Overrides: Object.BeginState (global)
Spawning.Timer[edit]
Overrides: Actor.Timer (global)
Spawning.UnTouch[edit]
Overrides: Actor.UnTouch (global)
Spawning.StartBuilding[edit]
Overrides: StartBuilding (global)
Spawning.Trigger[edit]
Overrides: Actor.Trigger (global)
Spawning.TrySpawn[edit]
Waiting[edit]
Modifiers: auto
Waiting.Touch[edit]
Overrides: Actor.Touch (global)
Waiting.Trigger[edit]
Overrides: Actor.Trigger (global)