Game Development Community

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

#1
06/14/2007 (4:04 am)
Just REM with "//" following lines in YourGameFolder/client/defaul.bind.cs

//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 );