Thread: Damage Blocks
View Single Post
  #5  
Old 04-30-2013, 09:18 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Generally I prefer to handle that stuff serverside because it's a lot more reliable (i.e. trigger serverside with the attack position, then find out what players have been hit and trigger clientside for them letting them know they've been hit).

Your other main option is to do a trigger like devilsknite1 showed above. It will call onActionWhatever (where "whatever" is the action type) in every clientside weapon that player has.
__________________
Reply With Quote