Quirkyblonde Posted August 27, 2010 Share Posted August 27, 2010 I'm working on a housing mod, and I want to include a specific spell with the mod for the player to use. How would I go about giving that spell to the player? Is there a script? Should I just make a bunch of scrolls with the spell in a re-spawning chests so there's always some there? Can I put an original spell on a scroll in the CS? Help! Link to comment Share on other sites More sharing options...
Beefyh Posted August 27, 2010 Share Posted August 27, 2010 player.addspell <SPELLID>:) Link to comment Share on other sites More sharing options...
Quirkyblonde Posted August 27, 2010 Author Share Posted August 27, 2010 yes, that works in-game. I want it to happen automatically as a part of a mod. I'd like to maybe use the enchantment on a staff, but it's not a standard enchantment. It's actually Relmyna's torture spell from SI, but I'm not sure how to enchant a staff with this spell. There MUST be a way, I just haven't come across it yet... Link to comment Share on other sites More sharing options...
Ranokoa Posted August 27, 2010 Share Posted August 27, 2010 You make an enchantment ID, and give it a script affect. You look for the script used for that spell, and then save it as Staves enchantment. Make a staff, look for the enchantment found at the stats window of that staff, and save. Otherwise, you could just do it menumode via questscript or something. Short DoOnce Begin MenyMode 1044 If DoOnce == 0 Player.AddSpell [iD] Set DoOnce to 1 end That will add the spell as soon as the game main menu loads. The main menu to choose save game, load, or create new. Link to comment Share on other sites More sharing options...
Quirkyblonde Posted August 27, 2010 Author Share Posted August 27, 2010 Thank you! :) Link to comment Share on other sites More sharing options...
Quirkyblonde Posted August 27, 2010 Author Share Posted August 27, 2010 okay...now does anyone know the spell ID for Relmyna's exalted pain tihng in SI? Link to comment Share on other sites More sharing options...
David Brasher Posted August 27, 2010 Share Posted August 27, 2010 SERelmynaExperimentSpell 4566D If you use a spell in a script instead of a console code, you can usually just use the readable name like "Player.AddSpell SERelmynaExperimentSpell" Link to comment Share on other sites More sharing options...
Quirkyblonde Posted August 27, 2010 Author Share Posted August 27, 2010 okay, thank you very much! Link to comment Share on other sites More sharing options...
Quirkyblonde Posted August 29, 2010 Author Share Posted August 29, 2010 okay, I've decided to do this by adding a button - any idea how to make the button vanish once the spell has been added? Link to comment Share on other sites More sharing options...
documn Posted August 29, 2010 Share Posted August 29, 2010 You can disable it or move it. button.disable or button.setpos z -30000 should do the trick. Link to comment Share on other sites More sharing options...
Recommended Posts