Thread: Finding Killer
View Single Post
  #8  
Old 09-16-2009, 04:12 PM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by sssssssssss View Post
I found this, and figured I could use this idea except instead of using onweaponfired, use onkeydown, keypress = "s". Although, if someone wouldnt mind helping sort through this to get to just the part that has to deal with the radius of the player, and marking who the player killed... xD

http://forums.graalonline.com/forums...ad.php?t=68271

Don't check if the player presses the 's' key, use the keydown() value just in case the player alters their default control configuration (via the F3 menu).


Also, what I said a few posts above still holds merit. Send a triggerAction() when the player swings their sword and have whoever they hit catch the action and work from there.
Reply With Quote