Game Development Community

Datablocks causes errors

by Mat Durrant · in Torque Game Engine Advanced · 08/08/2008 (2:47 am) · 0 replies

Hi,

it seems like I am unable to create a datablock without it crashing the application.

I've tested it to the point now, that I have a blank script with just a datablock such as below:

datablock PlayerData(###here###)
{
shootingDelay = 2000;
};

if I run the program with nothing in the brackets then it runs fine but as soon as I insert anything where it says "here" the application crashes as soon as I try to load a mission. Please help.

thanks.