I want to use certain functions in a Magic effect script that require a target/actor Id, but I cant figure out how to get the ID of a spells target.
For example, in a "target" magic effect script I can use "Additem 0000Etc 1" and it will add the item to whatever npc the spell hits,
BUT If I want to use a function such as "SetEssential ActorBase bool" it requires the actors ID! How do I go about this?? Much thanks!