Game Development Community

MakeCommand and breakCommand for bindObj()?

by Eric Robinson · in Torque Game Builder · 04/30/2007 (10:28 pm) · 1 replies

Can someone explain how bindObj() works? I'm used to ActionMap::Bind() in which you specify an "MakeCommand" and a "BreakCommand". In the keyboard universe this was equivalent to "OnPress" and "OnRelease". Looking at "ActionMap::BindObj()" I can't really see where the "BreakCommand" fits in. Any ideas?

#1
05/01/2007 (6:38 pm)
Wait, is this done by tick? Where a key's flag is checked (the %val that gets passed to the associated function) as depressed or not?

That's my current understanding...