Creating an ::onSelect event
by Kuju Manila · in Torque Game Engine · 10/14/2006 (9:33 pm) · 0 replies
Hello,
I have successfully created a new GUI control to have object selection under the guidance of Dave Myers' great resource. Now I am having trouble in determining on what part of the engine code should I analyze to create an event that would somehow trigger the selected object's onSelect. I also don't know if it would really require me to actually create a new event or if there is somehow a way to forcefully call an onSelect function on that object?
I have successfully created a new GUI control to have object selection under the guidance of Dave Myers' great resource. Now I am having trouble in determining on what part of the engine code should I analyze to create an event that would somehow trigger the selected object's onSelect. I also don't know if it would really require me to actually create a new event or if there is somehow a way to forcefully call an onSelect function on that object?