Game Development Community

Config Datablock problem

by Christian Rousselle · in Torque Game Builder · 12/05/2007 (1:21 pm) · 2 replies

Hello,

I want to create an assign and set data of a datablock via the GUI but I am not able to fill the "Config Datablock" combox box in the UI. Where do I have to declare/define the datablock so that it shows up there?

Thank you,

Christian

#1
12/05/2007 (3:02 pm)
To get the datablocks to load in the editor you must put their definitions (or exec statements to other files that include their definitions) in gameScripts/datablocks.cs
#2
12/05/2007 (3:33 pm)
As much as I whine about the editor being a crutch in many cases, this was a massive help in setting up a level since I included the proper image and frame information in the datablock as well and it just updated that with the datablock.

I'm curious though, is there a way to point it at other files or is that the only file the editor will read?