Shake

A brain for use with the BrainManager that causes its owner Entity to rapidly change position randomly.

It’s not that useful right now, more a test of concept.

Parameters it understands

None

Usage

//let's set this entity to invisible, and then have it fade in over one second.
this:GetBrainManager():Add("Shake","");

//let's stop shaking in two seconds

Schedule(2000, this:GetID(), "this:GetBrainManager():Remove("Shake")");
All Entity objects can use their BrainManager to add brains to control behavior and functions.
The Entity object.