Adding/Removing a spell depending on whether the player has

Post » Thu May 19, 2011 2:36 am

Okay, so...

I have done modding with Oblivion through Fallout: New Vegas before, I'm used to checking for stuff like this in them. You know, hidden quest with a script attached, whaht have you, I've done that before. I thought of something I'd like to add but... oh boy. Well, it's all different, isn't it? And moreover, I have to use MWEdit due to the lack of the Construction Set in Steam.

So I don't really know how to do a global script, or even if a global script is the best way to do this, but here's what I want to do: I have a spell which I've made, no problem there, and I know it works as I've tested that in game. I have a script which checks for the condition and adds/removes the spell based on whether the player has the condition, StartScript runs that beautifully in game as well. But... I can't get the script to run without calling StartScript myself via the console, I don't know how.

I've read. I've read. And I've read. I've searched the Internet. I've gone crazy because I don't like imposing upon other people, and I'm figuring that this is just some really stupid little thing that I'm overlooking or not figuring out. The thing is is that it seems that everyone seems to think everyone else knows how to do a global script and that's a given, but I can't even figure out how to do them by dissecting other mods other than seeing that there are global scripts.

*Dusk falls over.*

I try not to ask for help unless I'm at wit's end, which is pretty much where I am right now. 8D I've tried everything, and I understand every other bleeding part of the MWEdit system by now, all but that one... annoying... little thing that's eluding me.

So! What am I missing here? How do you do a global script? And if that's the wrong way, how would you go about adding a spell to a player when they have a certain disease/condition and then removing it when they don't?

To those whom answer, thank you for your time.

Sorry for being such a newb at Morrowind modding here... it's so, so completely different from later Gamebryo stuff. @_@

(If the answer is that this can only be done in the Construction Set, could you just leave a quick explanation as to how? If that's the case then I'll just go and grab a physical copy of Morrowind GOTYE.)
User avatar
Chris Johnston
 
Posts: 3392
Joined: Fri Jul 07, 2006 12:40 pm

Post » Thu May 19, 2011 7:11 am

Could you post the scripts?
User avatar
Quick Draw
 
Posts: 3423
Joined: Sun Sep 30, 2007 4:56 am

Post » Wed May 18, 2011 6:02 pm

The short answer is that these things can really only be done in the Construction set, because that's the only way you can place a script... global or otherwise. So, you need to get a copy of the CS and then a copy of "Morrowind Scripting for Dummies" (available http://planetelderscrolls.gamespy.com/View.php?view=Mods.Detail&id=6083 )and you will find easy to follow step-by-step instructions on how to do most scripting things..Then if you have questions, post here and someonc can nearly always help.

Good luck :)
User avatar
JUan Martinez
 
Posts: 3552
Joined: Tue Oct 16, 2007 7:12 am


Return to III - Morrowind