Throwing Bombs Help

This is probably a big no without an NPC Server, but worth a shot!

When using the Shoot command, is it possible to perform an action when the thrown/shot object lands? I don’t mean when it hits an NPC (since I can just do actionprojectile), but when it just hits something in general.

Example: I shoot and arrow and it hits a normal tile wall. I’d like the arrow to stick or maybe break (putleaps).

Or maybe I just threw a bomb and want it to explode when it lands, whether it hits and object or just the ground.

look into the following commands

if (wasthrown) {
Func_Explode();
}

if (onwall(x,y)){
Func_StickOrBreak();
}

function Func_Explode(){
// PUT EXPLOSION CODE HERE USING X AND Y OF NPC BUT DONT FORGET A DESTROY COMMAND AFTER EXPLOSION!
}

function Func_StickOrBreak(){
// PUT STICK TO WALL OR BREAK SCRIPT HERE
}

is that what u mean?

has been on vacation, hense the long reply
Thanks, but unfortunatly, no. The Put Explosion code is where I’m stuck, as putbomb, putexplosion, ect… don’t seem to work when called for by a gani, which is how Shoot works, firing a gani object (less there’s more too it that I’m missing)