Game Development Community

Button releases on Actionmap

by Stephen Lujan · in Torque Game Engine · 12/30/2006 (11:46 am) · 2 replies

It doesn't seem to be possible to bind button releases with commands through actionmaps, only the button presses. Am I wrong or is there any existing resources to do this? If not I think I might work it out myself by stealing some code from the guimouseevents or something like that. Would anyone else find this useful?

#1
12/30/2006 (2:25 pm)
It's already in there - with bind you get a callback with zero passed, with bindCmd you can specify a command for both up and down. Check the usage strings for those commands on actionmap to see details.
#2
12/31/2006 (12:10 pm)
Thank you very much. I'll look again. I must have been a bit hasty.