flysouth Posted August 15, 2016 Share Posted August 15, 2016 HiI want to detect if the player gets near to an object that they can interact with, I have done some keyboard driven tests using%result = %control.getLookAtPoint(%range,$TypeMasks::StaticShapeObjectType); %obj = getWord( %result, 0); %Message = "Looking at: " @ %obj.getName(); commandToClient(%client, 'ActionMessage', %Message); and it works fine.I now want to set a schedule to do this every 250ms for each player. I see how the scheduling is done but if I wanted this to happen for all players on a multiplayer system, what would the best way be to set up the schedules?Would this also work for single player games with client and server on same machine? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.