Jump to content

HOW TO: Toggle a magic


Kdaj

Recommended Posts

i've been trying to create a "Mythic Dawn's based" birthsign... and i wanted to put as a lesser power a full set of Mythic Dawn Armor........ but toggled! not timebomb armor set... i find that stupid, so i thought i could work on a Warlock handling a combat with a heavy armor... how can i do that?

 

to make myself clear, for example: Frostmourne Sword Mod --> there is a lesser power to make the sword 1-handed to 2-handed...

 

i'd like to make that but a toggle to equip/unequip the armor...

 

by the time being, i appreciate any help,

 

Regards,

kdaj

Link to comment
Share on other sites

  • 3 weeks later...

I think what you could do is create a copy of mythic dawn armor and weapons. Then make a script similar to this one:

 

scriptname 00MythicArmor

short ArmorEquipped

Begin ScriptEffectStart

if (ArmorEquipped == 0)

player.additem MythicArmorCopy 1

player.additem MythicHelmCopy 1

player.additem MythicSwordCopy 1

player.equipitem MythicArmorCopy 1

player.equipitem MythicHelmCopy 1

player.equipitem MythicSwordCopy 1

set ArmorEquipped to 1

else

player.removeitem MythicArmorCopy 1

player.removeitem MythicHelmCopy 1

player.removeitem MythicSwordCopy 1

set ArmorEquipped to 0

endif

End

To hide the armor for the player I think you can flag the armor copy as unplayable by PC or something like that.

I hope this script will work, but I haven't modded oblivion in a while and my scripting is a bit rusty. And if this doesn't work then you could make two spells, one with the equip and add part in it, and another one which would have the remove and unequip as well in it. If you'll need more help I'll try and help as good as I can.

Happy modding. http://forums.nexusmods.com/public/style_emoticons/dark/biggrin.gif

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...