So Im trying to make a non-lethal gun. Im calling it the "Temporal Displacer" for now. The script needed is simple, but I svck at scripting. It needs to disable the NPC, then after a minute or two, re-enable the NPC, and maybe conjur up a nice visual effect(like the zap glove electrical effect). Just to give the illusion that the NPC was temporarily phased out of spacetime.
I've made scripted weapons before. One such weapon was the 'kleptotron', a gun that allows you to access an NPC's inventory without any of the limitations of pickpocketing. So I have a vague idea of where to start. So far, I've got the projectile set to create the electrical effect, and the script set to disable the NPC. But Im not sure how to get the NPC to re-appear after a set time, or how to get the electrical effect to play when they re-emerge.