Game Development Community

Reloading datablocks

by Josh "GimpMaster" Hintze · in Torque Game Engine · 10/02/2006 (1:44 pm) · 2 replies

I tried searching, maybe not hard enough. But is there an easy way to reload information contained in datablocks. For example say I have some physics parameters stored in a datablock and I want to adjust them in the datablock.

Is there an easy way to resend the datablock information without having to reload the mission? Or what would you guys suggest.

Thanks

#1
10/03/2006 (9:07 am)
Should I do this through dynamic fields maybe? Or if i'm just running single player should I be able to see my changes if i just re exec("") the file?
#2
10/03/2006 (9:37 am)
There is a GameBase function to reload datablocks, though I cannot remember it offhand.