Thread: hurt()
View Single Post
  #6  
Old 11-01-2008, 09:13 PM
LoneAngelIbesu LoneAngelIbesu is offline
master of infinite loops
LoneAngelIbesu's Avatar
Join Date: May 2007
Location: Toldeo, Ohio
Posts: 1,049
LoneAngelIbesu has a spectacular aura aboutLoneAngelIbesu has a spectacular aura about
Send a message via AIM to LoneAngelIbesu
Quote:
Originally Posted by DustyPorViva View Post
No, the recoil away from the direction they were hit... in the case of hurt(), since they weren't hit by someone else, there is no default recoil direction... which is what I want to define.
Oh, yeah. That would make sense.

Have you tried hitplayer(index, halfhearts, fromx, fromy)?
hitplayer(0, 1, 45, 50); seems to recoil the player down to the left, diagonally.
__________________
"We are all in the gutter, but some of us are looking at the stars."
— Oscar Wilde, Lady Windermere's Fan
Reply With Quote