mounting

Author Topic: mounting  (Read 1290 times)

ok ive figured out most of it with fooly's help and is the problum with the mount image cause i don't get an error in the console so its mounting but im not seeing it
if it is what would i change so it has a mounting image

code:
function serverCmdArrow(%client)
{
%Client.player.mountImage(arrow,1);
}
datablock ShapeBaseImageData(arrow)
{
     shapeFile = "Add-ons/shapes/arrow.dts";
     emap = false;
     mountPoint = $1;
     offset = "0.1 0.2 -0.55";
     eyeOffset = 0.1 0.2 -0.55";
     rotation = "0 0 1 180";
     className = "itemimage";
}

No error in console does not always mean its mounting, besides, it could be inside the player rather than outside.

i even changed where it shoul;d be like in the hand

You dont have a ; at the end of your datablock, and there is no such mountpoint as $1.

You dont have a ; at the end of your datablock, and there is no such mountpoint as $1.
so should it look like this

function serverCmdArrow(%client)
{
%Client.player.mountImage(arrow,1);
}
datablock ShapeBaseImageData(arrow);
{
     shapeFile = "Add-ons/shapes/arrow.dts";
     emap = false;
     mountPoint = 1;
     offset = "0.1 0.2 -0.55";
     eyeOffset = 0.1 0.2 -0.55";
     rotation = "0 0 1 180";
     className = "itemimage";
}
   

Put a ; on the end of the last bracket.

function serverCmdArrow(%client)
{
%Client.player.mountImage(arrow,1);
}
datablock ShapeBaseImageData(arrow);
{
     shapeFile = "Add-ons/shapes/arrow.dts";
     emap = false;
     mountPoint = 1;
     offset = "0.1 0.2 -0.55";
     eyeOffset = 0.1 0.2 -0.55";
     rotation = "0 0 1 180";
     className = "itemimage";
};
   
i think thats right

Remove the ; after (arrow)

Quote
function serverCmdArrow(%client)
{
   %client.player.mountImage(arrow,1);
}
datablock ShapeBaseImageData(arrow)
{
     shapeFile = "Add-ons/shapes/arrow.dts";
     emap = false;
     mountPoint = 1;
     offset = "0.1 0.2 -0.55";
     eyeOffset = 0.1 0.2 -0.55";
     rotation = "0 0 1 180";
     className = "itemimage";
};

thanks i figured it out with your guys help topic locked