Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-12-2012, 06:53 AM
r3ckless r3ckless is offline
Owner of Corinthia
Join Date: Dec 2011
Location: MAssachusetts, USA
Posts: 131
r3ckless is an unknown quantity at this point
Send a message via AIM to r3ckless Send a message via MSN to r3ckless
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
__________________

Yep.

Reply With Quote
  #2  
Old 04-12-2012, 09:32 AM
Tricxta Tricxta is offline
The Muffin Man
Tricxta's Avatar
Join Date: Oct 2010
Location: Australia
Posts: 563
Tricxta is just really niceTricxta is just really nice
Try playerhurt,
function onPlayerhurt(){

}

I don't play around with the default health tbh so i'm not sure...
Reply With Quote
  #3  
Old 04-12-2012, 01:52 PM
r3ckless r3ckless is offline
Owner of Corinthia
Join Date: Dec 2011
Location: MAssachusetts, USA
Posts: 131
r3ckless is an unknown quantity at this point
Send a message via AIM to r3ckless Send a message via MSN to r3ckless
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.
__________________

Yep.

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:31 PM.


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