Usage
Syntax: function onActionSProjectile(parameters) { }
Explanation
onActionSProjecttile is invoked serverside when a projectile shot by a serverside shoot hits a NPC.
You can set the parameters with the usage of setshootparams before calling the shoot.
Typically, You can find onActionSProjecttile in the Control-NPC to catch all of your projectiles.
Example
function onActionSProjectile() { this.chat = "Ouch, I have been damaged!"; }
... Will make the NPC to say "Ouch, I have been damaged!" when a serverside shoot projectile hits the NPC.
Categories
CategoryFunctionEvent
There are no comments on this page. [Add comment]