I'm trying to create a lever that once activated would spawn an NPC at a certain place by using a summon spell. However, I have no idea which kind of an object I should be using to cast the summon spell. Preferably some kind of a marker that would cast the spell on itself and thus create the NPC there. Any ideas?
The Papyrus side of casting the spell is clear to me, but I'm a bit confused about the object I should be using that script with.
Thanks in advance!