Ok Ok, that piece of script I posted was just my prototype of the big picture. I'm really making an output event for this, it is so forgeted up though. :(
registerOutputEvent(fxDtsBrick, "MoveBrick", vector);
function fxDtsBrick::MoveBrick(%this, %c)
{
%loltisabrick = new fxDtsBrick()
{
position = %this.position;
rotation = %this.rotation;
angleID = %this.angleID;
colorID = %this.oldcolorID;
colorFXID = %this.oldcolorFXID;
shapeFXID = %this.shapeFXID;
printID = %this.printID;
dataBlock = %this.dataBlock;
isBasePlate = %this.isBasePlate();
};
%this.delete();
servercmdshiftbrick(%loltisabrick, 0, 0, 3);
%loltisabrick.iplanted = true;
%loltisabrick.plant();
}
Here are my problems:
1. The shifting of the brick and the planting of it will happen at the same time, canceling each other out.
2. It won't plant the brick at all.
3. It won't move the ghost brick at all.
Thank you if you help guys.
Also: I do not need advice on anything else, not the vector, not the other script, nothing besides this.