Game Development Community

Question about datablocks

by Steve D · in Torque Game Engine · 12/21/2006 (5:12 pm) · 1 replies

I'm going through the FPS starter kit and I notice that some fields in, for example, the crossbow projectile data don't exist in the documentation for that datablock. So what does that mean exactly, the coder can make their own fields in a datablock for use by the script or ? Sorry if it's a newb question :)

#1
12/21/2006 (6:20 pm)
Yes you can add your own fields to datablocks, but I dont know if the crossbow adds anything new or not. The documentation just might be old or something. Look at the fields in projectile.cc in the engine/game