I'm kinda hesitant about adding rarely used functions, which can be (relatively easily) done in scripting.
////////////////////////////////////////////////////////////////////////////////
method Shake()
{
for(var i=0; i<10; i=i+1)
{
ShiftSceneNodes(-10, 0);
Sleep(100);
ShiftSceneNodes(10, 0);
Sleep(100);
}
}
////////////////////////////////////////////////////////////////////////////////
function ShiftSceneNodes(var ShiftX, var ShiftY)
{
for(var i=0; i<Scene.NumLayers; i=i+1)
{
var Layer = Scene.GetLayer(i);
for(var j=0; j<Layer.NumNodes; j=j+1)
{
var Node = Layer.GetNode(j);
Node.X = Node.X + ShiftX;
Node.Y = Node.Y + ShiftY;
}
}
actor.X = actor.X + ShiftX;
actor.Y = actor.Y + ShiftY;
}