# 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% |  |  | float | BubbleMass
%function_comment% |  |  | float | BubbleScale
%function_comment% |  |  | int | i
%function_comment% |  |  | EMode | Mode
%function_comment% |  |  | float | NumBubblesManual
%function_comment% |  |  | float | NumBubblesNewModes
%function_comment% |  |  | float | RandIntervall

## Enums

%function_comment% | EMode |  | MODE_Manual, MODE_Random, MODE_Event, MODE_Touch, MODE_All,

## Functions

| All |  | SpawnBubble ()
| Random |  | Timer ()
| All |  | Timer ()
| Manual |  | Timer ()
| TouchMode |  | Touch (actor Other)
| All |  | Touch (actor Other)
| Manual |  | Touch (actor Other)
| All |  | Trigger (actor Other, pawn EventInstigator)
| Manual |  | Trigger (actor Other, pawn EventInstigator)
| EventMode |  | Trigger (actor Other, pawn EventInstigator)
| Manual |  | UnTouch (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