Game Development Community

UI "command

by Nic Biondi · in Torque Game Builder · 10/13/2008 (10:18 pm) · 3 replies

This is regarding the "command" argument that can be used in a GUI element.

Does anyone know why I am having a problem sending multiple arguments through the "command =" argument? My code is as follows:

Command = "clientLogin(loginName.getValue(),loginPassword.getValue());";

The above code sends the loginName correctly in the first argument but does not send loginPassword. Any thoughts?

#1
10/14/2008 (5:08 pm)
Anyone know if you can pass 2 parameters in a UI "command" parameter?
#3
10/22/2008 (9:41 am)
Ok, turns out this does work.. I changed the method and it's passing.. wierd I never got a response from the GG community .. 'puzzlement!'