Game Development Community

Encapsulating controls

by John Doppler Schiff · in Torque Game Engine · 02/19/2007 (6:26 pm) · 0 replies

Hi folks,
My project requires multiple chat windows that can be created on the fly. For simplicity's sake, I'd like to encapsulate the GUI elements -- window, titlebar, MessageVectorCtrl, scrollbar, chat entry, etc -- in a single control, GUIChatWindow.

Can this be done in script, or must it be done in the engine?