Game Development Community

Actionmap issues with mouse

by Playware · in Torque Game Builder · 04/17/2007 (1:28 am) · 0 replies

Hi, i want to bind "xaxis" mouse event to the action map. I followed the documentation code:

movemap.bind(mouse0, xaxis, "doSomething");

function doSomething(%val)
{
echo(%val);
}

but when i move my mouse, nothing happened? is it something which i missed??

any advice is appreciated. Thanks a lot