A brick in a save:
Vehicle Spawn" -84 21 0.1 0 1 0 0 0 1 1 1
+-OWNER 15335
+-NTOBJECTNAME _dump
+-EVENT 0 1 onActivate 0 Self setEmitter 1000
+-EVENT 1 1 onActivate 0 Self setLight 1156
+-EVENT 2 1 onActivate 0 Self setItem 1006
+-EVENT 3 1 onActivate 0 Self setMusic 1229
+-EVENT 4 1 onActivate 0 Self setVehicle 1022
+-EMITTER Arrow Stick" 0
+-LIGHT aLArm"
+-ITEM Bow" 0 2 1000
+-VEHICLE Jeep " 1
A brick in a script (taken from duplicator)
%newBrick = new fxDtsBrick()
{
position = vectorAdd(%startPos, rotateVector(getWords(%brickStr, 0, 2), %rotChange));
rotation = $Duplicator::Rotation[%angleId];
dataBlock = $uiNameTable[%dataBlockUiName];
angleId = %angleId;
colorId = getWord(%brickStr, 5);
colorFxId = getWord(%brickStr, 7);
shapeFxId = getWord(%brickStr, 8);
isPlanted = 1;
client = %client;
};
%newBrick.setTrusted(1);
%err = %newBrick.plant();
And then that gets followed by error checking and setting ownership.