08-03-2008, 02:27 PM
|
ǝɔɐɹq ʎןɹnɔ
|
|
Join Date: Dec 2006
Location: Germany
Posts: 5,153
|
|
onActionProjectile() triggers clientside when the player is hit with it. You should use onActionProjectile2() I guess, not sure if onActionProjectile() works for NPCs.
For onActionProjectile2():
params[0] is the x where the projectile lands
params[1] is the y
params[2 .. n] are the shoot paramaters (setShootParams() I think) |
__________________
|
|
|