Game Development Community

vehicle.cs Bug (can't find datablock)

by Mike Rowley · in Torque 3D Beginner · 06/18/2011 (6:19 pm) · 4 replies

scripts/server/vehicle.cs (45): Unknown command getDataBlock.
  Object (4361) PointLight -> LightBase -> SceneObject -> NetObject -> SimObject
scripts/server/vehicle.cs (45): Unable to find object: '' attempting to call function 'doDismount'

The funny thing is, doDismount works. I have no idea why this spam is in the console.log.

#2
06/19/2011 (5:20 am)
Be careful 'selecting' the vehicle and not the point light; I did the same...thought I'd grabbed/selected the cheetah for an ID# to call a function, but had somehow grabbed the 'point light' attached to the object and received the error.
#3
06/19/2011 (6:05 am)
lol Rex. This code is the vanilla vehicle code untouched. I'll go thru that thread and see if I can fix it tho. Thanks John.
#4
10/11/2011 (9:20 pm)
there is a problem with SoldierGun's datablock also