Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Hit Detection (https://forums.graalonline.com/forums/showthread.php?t=134266224)

r3ckless 04-12-2012 06:53 AM

Hit Detection
 
I'm having some trouble with determining if a player was hit by a sword? Is there anything to find out if a player was hit, similar to was hit?

had to space it or forums thought i was swearing x.x

Tricxta 04-12-2012 09:32 AM

Try playerhurt,
function onPlayerhurt(){

}

I don't play around with the default health tbh so i'm not sure...

r3ckless 04-12-2012 01:52 PM

I forgot about that haha
I was going to try to check the players gani, but that way is much more efficient :)

Thanks, Tricx. Stop in and see Corinthia sometime, it's coming alone nicely. :)


All times are GMT +2. The time now is 12:31 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.