Essentially, I'm trying to make a mod for myself (or for this board if anybody would want it) that if you cast a spell on any NPC it will automatically equip them with slave bracers and turn them into your slave. Since I'm a total noob when it comes to scripting, I thought it best to keep it simple and make it as basic as possible.
I was looking at the mod 'scripted spells' and a slaver mod in an attempt to find out how I might go about this, but I didn't really get much out of it. Can anybody give me some general advice as to how I might go about setting this up? I know this requires a script, but I am just not sure how I am supposed to go about linking everything together.
Obviously you are supposed to create a spell in which you affect an NPC, but what after that? When I do make the script, how do I link it to the spell?
I am also wondering if you can lead one script into another? So for example, in the script I would make could I lead it into the slaveScript that already comes with the game? It seems like this would make everything a lot easier.
Sorry if this sounds like basic stuff that I could just google; I've been trying to figure this out for a couple hours now and feel like I am just wasting time trying to do it on my own.