ok this is pretty annoying
I PRESENT TO YOU
TWO BASICALLY IDENTICAL IMAGES
THE WORKING ONE:
datablock ShapeBaseImageData(TremorDirtImage)
{
shapeFile = "base/data/shapes/empty.dts";
emap = false;
mountPoint = $HeadSlot;
stateName[0] = "Ready";
stateTransitionOnTimeout[0] = "FireA";
stateTimeoutValue[0] = 0.01;
stateName[1] = "FireA";
stateTransitionOnTimeout[1] = "Done";
stateWaitForTimeout[1] = True;
stateTimeoutValue[1] = 0.350;
stateEmitter[1] = TremorDirtEmitter;
stateEmitterTime[1] = 0.350;
stateName[2] = "Done";
stateScript[2] = "onDone";
};
function TremorDirtImage::onDone(%this,%obj,%slot)
{
%obj.unMountImage(%slot);
}
THE BROKEN ONE:
datablock ShapeBaseImageData(DagonInkImage)
{
shapeFile = "base/data/shapes/empty.dts";
emap = false;
mountPoint = $HeadSlot;
stateName[0] = "Ready";
stateTransitionOnTimeout[0] = "FireA";
stateTimeoutValue[0] = 0.01;
stateName[1] = "FireA";
stateTransitionOnTimeout[1] = "Done";
stateWaitForTimeout[1] = True;
stateTimeoutValue[1] = 0.350;
stateEmitter[1] = DagonInkEmitter;
stateEmitterTime[1] = 0.350;
stateName[2] = "Done";
stateScript[2] = "onDone";
};
function DagonInkImage::onDone(%this,%obj,%slot)
{
%obj.unMountImage(%slot);
}
now
why is the latter code not working properly
Even when I call to use both of those the SAME WAY, the latter does not work (the former does).
Also, both emitters work fine when spawned on bricks.