Game Development Community

Click n Pick help

by Philip Bloom · in Torque Game Engine · 02/17/2005 (3:36 pm) · 2 replies

Applied the Click n Pick patches to the latest HEAD, and things seem to be working fine, except for one minor detail: I can't figure out where to put serverCmdOnWorldClick so that it will actually get called when the mouse is clicked. Tried putting it in each of the two commands.cs files, and it didn't get called. Can I get a bit more information than "Servers can implement it"? If someone can point me to where the ServerCmdOnWorldClick should be placed, I'd be most appreciative.

Thanks again.

#1
02/17/2005 (3:42 pm)
Server/commands.cs it is a server command right =)
#2
02/17/2005 (4:50 pm)
Yeah, it got placed there originally, but that didn't seem to help. Placing a function called that there with the desired parameters and an:
echo("blah blah") in it never managed to result in it getting called. Maybe there is some precursor it needs to be placed further up the chain?