Lock/disable player's movements
by Aygarp · in General Discussion · 01/24/2007 (11:26 pm) · 1 replies
Hey all,
can anyone tell me how to lock/disable player's movements, not his views, in script. That is he should be able to see anywhere he wants, should be able to rotate , but cant move forward, backward, left and right.
Thanks
can anyone tell me how to lock/disable player's movements, not his views, in script. That is he should be able to see anywhere he wants, should be able to rotate , but cant move forward, backward, left and right.
Thanks
About the author
Torque Owner Dusko Pejacki
//moveMap.bind( keyboard, a, moveleft );
//moveMap.bind( keyboard, d, moveright );
//moveMap.bind( keyboard, w, moveforward );
//moveMap.bind( keyboard, s, movebackward );
//moveMap.bind( keyboard, space, jump );