Anyone knows how i can set a weapon state?
by Marcus L · in Torque 3D Professional · 02/17/2010 (11:55 am) · 2 replies
Is there a way to set a weapon state (like "Reload" ,"Fire" etc.). Can anyone tell me how i could set the "Reload" state on the fly.
Note: my "Reload" state is very different than the usual one.
Thanks
Note: my "Reload" state is very different than the usual one.
Thanks
#2
02/18/2010 (11:37 am)
Since i don't know c++ i had to hack my way to the solution. For those who wonder what i did, i scripted the "r" button to clear the clip and then forced the trigger to fire which resulted to reload. hehe.
Associate Rene Damm
None that I'm aware of, though you could probably easily add this by exposing ShapeBase::setImageState to script.