SpatialFear.SFBubbleGenerator

Spatial Fear
Class: SFBubbleGenerator
Description:
The generator has four modes:
MODE_Manual: Same as the original Bubble generator, spawns up to NumBubblesManual bubbles for
every touch event and then disables timer (used to generate new bubbles),
Timer is set off buy trigger and touch, deactivated on UnTouch. So constant touching will
produce bubbles constantly
MODE_Random: Permanently generated bubbles at random intervals, each time the timer fires
NumBubblesNew are spawned. Cannot be deactivated.
MODE_Event: Only generates a single bubble when triggered. Each time the trigger fires
one bubble is spawned.
MODE_Touch: Only generated bubbles when touched, each time the trigger fires
NumBubblesNew are spawned.
MODE_All: Combines MODE_Random, MODE_Event, MODE_Touch: bubbles are spawned, randomly, on touch and
on a trigger event.

Author: Markus Nuebel

Extends:
Modifiers:
Source code

SpatialFear.SFBubbleGenerator
%%

Variables

%function_comment%
floatBubbleMass
%function_comment%
floatBubbleScale
%function_comment%
inti
%function_comment%
EModeMode
%function_comment%
floatNumBubblesManual
%function_comment%
floatNumBubblesNewModes
%function_comment%
floatRandIntervall

Enums

%function_comment%
EModeMODE_Manual,
MODE_Random,
MODE_Event,
MODE_Touch,
MODE_All,

Functions

AllSpawnBubble ()
RandomTimer ()
AllTimer ()
ManualTimer ()
TouchModeTouch (actor Other)
AllTouch (actor Other)
ManualTouch (actor Other)
AllTrigger (actor Other, pawn EventInstigator)
ManualTrigger (actor Other, pawn EventInstigator)
EventModeTrigger (actor Other, pawn EventInstigator)
ManualUnTouch (actor Other)

Default properties

{
     BubbleScale=1.000000
     BubbleMass=3.000000
     NumBubblesManual=15.000000
     NumBubblesNewModes=1.000000
     RandIntervall=2.000000
}


class file time: 12/7/2003 3:58:24 PM - creation time: 12/7/2003 4:03:39 PM
Created with UnCodeX