CS Is jacking up

Post » Sat May 28, 2011 4:39 am

Well, I'm making a mod that adds items from Morrowind, nearly identical to the originals, but it wont let me save scripts, thus I cannot complete the mod. Does anyone else ave this problem/know how to fix it? Please help, as I plan to finish this mod soon.
User avatar
Scarlet Devil
 
Posts: 3410
Joined: Wed Aug 16, 2006 6:31 pm

Post » Sat May 28, 2011 9:24 am

Well, I'm making a mod that adds items from Morrowind, nearly identical to the originals, but it wont let me save scripts, thus I cannot complete the mod. Does anyone else ave this problem/know how to fix it? Please help, as I plan to finish this mod soon.

Any errors showing up?
User avatar
My blood
 
Posts: 3455
Joined: Fri Jun 16, 2006 8:09 am

Post » Sat May 28, 2011 9:18 am

Save current Project?

Current "

Yes No

If i hit yes, it wont save. If i save it then try to close it, it still says the error. I got mad and coopied the script to notepad. I just closed script window.
User avatar
GPMG
 
Posts: 3507
Joined: Sat Sep 15, 2007 10:55 am

Post » Sat May 28, 2011 6:24 pm

A caution to you: you won't be able to release this to the public, unless you've built your own meshes from scratch. See this http://www.gamesas.com/index.php?/topic/646586-important-oblivion-mods-and-other-games/
User avatar
Tracy Byworth
 
Posts: 3403
Joined: Sun Jul 02, 2006 10:09 pm

Post » Sat May 28, 2011 9:07 am

sounds like you've got a rouge else or elseif

search through it and make sure your elseif 's all have conditions, and your else 's dont.
User avatar
tannis
 
Posts: 3446
Joined: Sat Dec 09, 2006 11:21 pm

Post » Sat May 28, 2011 12:10 pm

Ah, so if I use elseif for a different condition instead of else it wont work? Well, heres my script if you see problems: I hate that you cant use tab though.
scn LoreKeeningSCRIPT

Begin OnEquip

if (LoreWraithguardQuest.HasBeenEquipped == 0)
cast LoreKeeningSunderWound Player
elseif
if (LoreWraithguardQuest.HasBeenEquipped == 1)
Player.AddSpell LoreKeeningsAura ;The enchanting protection keening gives from Morrowind.
endif
endif
end

;Block below ensures removal of aura

Begin OnUnEquip

Player.RemoveSpell LoreKeeningsAura
end

Any problems with this script? Also, they are a new models and textures, made as a MR. And I have known this for a while that you may not use other models unless they are made from scratch. I have made about 6 mods already, with 3 in progress. But thanks for the warning incase I hadn't.
User avatar
Alberto Aguilera
 
Posts: 3472
Joined: Wed Aug 29, 2007 12:42 am

Post » Sat May 28, 2011 4:37 pm

fgured it out, instead of adding elseif and everything, just put else then addspell. It worked. So, I don't need help on this issue. Thanks all who helped me.

LordFrostcraig
User avatar
Meghan Terry
 
Posts: 3414
Joined: Sun Aug 12, 2007 11:53 am


Return to IV - Oblivion