The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:BubbleSpawner (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
U2XMP Object >> Actor >> Effects >> BubbleSpawner
Package: 
U2

BubbleSpawner.uc $Author: Mfox $ $Date: 8/05/02 12:35p $ $Revision: 5 $

Properties

Property group 'BubbleSpawner'

bContinuous

Type: bool

once started, keep spawning bubbles forever

bDestroy

Type: bool

whether to destroy BubbleSpawner when first group of bubbles spawned

Default value: True

bTrigger

Type: bool

if set, bubbles spawned on trigger, otherwise spawned on creation

MaxBubbles

Type: int

max # bubbles to spawn

Default value: 8

MinBubbles

Type: int

min # bubbles to spawn

Default value: 1

OffsetMaxX

Type: float

shift final X (along rotation axis) coordinate + this value

Default value: 5.0

OffsetMaxY

Type: float

shift final Y (along rotation axis) coordinate + this value

Default value: 5.0

OffsetMaxZ

Type: float

shift final Z coordinate + this value

Default value: 10.0

OffsetMinX

Type: float

shift final X (along rotation axis) coordinate - this value

OffsetMinY

Type: float

shift final Y (perpendicular to rotation axis) coordinate - this value

Default value: -5.0

OffsetMinZ

Type: float

shift final Z coordinate - this value

Default value: -5.0

TimeBetweenBubbles

Type: float

time delay between spawning each bubble

Default value: 0.1

TimeBetweenGroups

Type: float

time delay between spawning groups of bubbles

Default value: 5.0

Internal variables

BaseLocation

Type: Object.Vector

Modifiers: private


BaseRotation

Type: Object.Rotator

Modifiers: private


BubbleIndex

Type: int

Modifiers: private


NextBubbleTime

Type: float

Modifiers: private


NextGroupTime

Type: float

Modifiers: private


NumBubbles

Type: int

Modifiers: private


Default values

Property Value
bDirectional True
bHidden True

Functions

Events

PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Tick

event Tick (float DeltaTime)

Overrides: Actor.Tick


Other instance functions

SetupSpawnBubbles

function SetupSpawnBubbles ()


SpawnBubble

function SpawnBubble ()


Trigger

function Trigger (Actor Other, Pawn EventInstigator, optional name EventName)

Overrides: Actor.Trigger