Delete the object itself
by Till Hoffmann · in Torque Game Engine · 12/29/2005 (8:07 am) · 1 replies
I want to delete a button if it gets clicked. So I tried this:
But I get an error: access violation
I thought about using schedule but I think there are better ways
%obj = new GuiButton(myButton)
{
extent=...;
...
};
%obj.command = %obj@".delete();"But I get an error: access violation
I thought about using schedule but I think there are better ways
About the author
Torque 3D Owner Stephen Zepp