Check if a gui is pushed.
by BryceSquared · in Torque 3D Professional · 01/13/2010 (4:36 am) · 2 replies
I have a function in the onWake function for my loot gui. I want to do something like this.
Is there a built in function like this already?
function getLoot(%container)
{
if(LootMenu.isPushed)
{
//close it
}
//open it
}Is there a built in function like this already?
Associate Phillip O'Shea
Violent Tulip
function getLoot(%container) { if(LootMenu.isAwake()) { //close it } //open it }