Well, in this case detecting whether the unit is prone is easy because you only need that info when firing the weapon and when running the script from the fired eventHandler you can check the fired bullet's flying height and if it's low enough the script continues to create the dust drop[], if not, it exits...