
05-04-2007, 11:31 PM
|
|
Registered Omega
|
 |
Join Date: Apr 2006
Location: United States
Posts: 1,920
|
|
Quote:
Originally Posted by Chandler
Since all the default damage is done by this one thing, would it be possible to detect what called it?
HTML Code:
function onPlayerHurt(damageType)
{
player.chat = temp.damageType;
}
Currently returns "0", however, wouldn't it be great if you could find out what called it?
Such as an explosion, the player being hit by a default projectile [arrow, bush, fireball etc].
Wouldn't it be cool, thanks!!
|
I see how this could be useful! But you're the king of pfs  . |
__________________
REMEMBER, IF YOU REP ME, LEAVE A NAME! 
Quote:
Originally Posted by haunter
Graal admins don't die. They go to hell and regroup.
|
Quote:
Originally Posted by Inverness
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
|
|
|
|
|