Game Development Community

Any way to catch mouse events in gui screens?

by Spencer Grey · in Torque Game Builder · 06/08/2006 (4:09 pm) · 2 replies

Hey guys,

Im trying to create an inventory system where I can drag and drop different items to different slots. I was trying to do this with the drag and drop controls, but I cant figure out how to catch the mouse down/up events.

Any info would be appreciated. Thanks.

#1
06/08/2006 (10:52 pm)
The Level Editor uses a GuiDynamicCtrlArrayControl called objectList, I'm not sure if looking at how that control is built might help you get an idea for how they do populations, selections. it actually looks like it would be pretty easy to bind that type of control in for an inventory system.
#2
06/09/2006 (7:53 am)
Thanks, I'll take a look at it.