Order of Events Calls of Object Behaviors
by Frédérick Imbeault · in Torque X 2D · 06/21/2010 (11:08 am) · 4 replies
Hello,
I got a project in Torque2D and some objects got multiple behaviors attached to them. Now I wanted to know if there is some way I could know or set the ordre of event calls in theses behaviors. For exemple, 2 or more behaviors got a OnMouseDown function and I would need to call some behavior first... Does it call in the order in wich the behaviors are added to the object ?
Thanks !
I got a project in Torque2D and some objects got multiple behaviors attached to them. Now I wanted to know if there is some way I could know or set the ordre of event calls in theses behaviors. For exemple, 2 or more behaviors got a OnMouseDown function and I would need to call some behavior first... Does it call in the order in wich the behaviors are added to the object ?
Thanks !
#2
06/21/2010 (1:45 pm)
Well I use TGB and Torsion... should the thread be posted on Torsion's forum ?
#3
06/21/2010 (10:54 pm)
Isn't TGB renamed Torque 2d?
#4
06/22/2010 (9:16 am)
Yeah it is, and that is probably what mistaken me between torque X 2d and torque 2d. Thanks for your help, I will post my problem on the good forum !
Torque 3D Owner Will O-Reagan
Modern Intrigues