GetDatablock()?
by Temasek Polytechnic · in Torque Game Engine · 06/13/2006 (2:11 am) · 1 replies
I want to get the datablock of an object in Torque using its handle.
So its like %handle.getDatablock();
But when i print out the datablock, i get a 2 digit number(in my case, 52).
Why is this so?
So its like %handle.getDatablock();
But when i print out the datablock, i get a 2 digit number(in my case, 52).
Why is this so?
About the author
Associate Stefan Beffy Moises
%handle.getDatablock().someVar
etc. and
%handle.getDatablock().getName() should give you the name... there should also be getClassName() etc.
or just try
%handle.getDatablock().dump() to see what it spits out...