View Single Post
  #4  
Old 05-16-2014, 08:27 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Quote:
Originally Posted by i8bit View Post
How does the client find the player in front of your player?
the triggerAction() will already trigger the named function on all objects on clientside and serverside at the given position (as long as setshape is set or its related to a player). once you've received the triggerAction(), you can make a check using findAreaPlayers() to figure whos around the player that got hit
__________________
MEEP!
Reply With Quote