Author Topic: Problem with datablocks  (Read 1506 times)

I have no clue what is wrong with this script. I was making a sepatate datablock to use for something, and this just won't exec without errors!

Code: [Select]
datablock PlayerData(MissileBot : PlayerStandardArmor)
{
   shapeFile = "./shapes/rocketprojectile.dts";
};
I tried commenting out the shapefile part, and it still errors.
« Last Edit: March 10, 2007, 01:31:39 PM by Aloshi »

I have no clue what is wrong with this script. I was making a sepatate datablock to use for something, and this just won't exec without errors!

Code: [Select]
datablock PlayerData(MissileBot : PlayerStandardArmor)
{
   shapeFile = "./shapes/rocketprojectile.dts";
};
I tried commenting out the shapefile part, and it still errors.

Try removing the spaces in the ()'s after Player Data.

Code: [Select]
datablock PlayerData(MissileBot : PlayerStandardArmor)
{
   shapeFile = "./shapes/rocketprojectile.dts";
};

Missles can't be Players because they do not have the same mount stuff as a real player, and PlayerData can only work with player model with correct...stuff

He said he tried commenting out the shapefile part of it...