Quote:
Originally Posted by fowlplay4
Projectiles that hit it will trigger onActionProjectile(), and depending on the parameters of the projectiles you can have it react accordingly.
Also if the projectile is shot on the server-side it will also trigger onActionSProjectile().
PHP Code:
// NPC was hit by a shoot projectile that originated on the client-side.
function onActionProjectile() {
// Handle accordingly
}
// NPC was hit by a shoot projectile that originated on the server-side.
function onActionSProjectile() {
// Handle accordingly
}
|
I think this should be built into the next version.