deep911112 Posted December 21, 2020 Posted December 21, 2020 Hi,I made the abilities I want with the creation kit.I even checked that this ability works normally in in-game. (using the console "player.addspell XXXXXX")I want to get this ability through a potion.I referenced Esbern's potion. 1. I made "Perk A" 2. made "Magic effect A". (apply "Perk A")3. made "Ability A" (apply "Magic effect A")4. made "Perk B" (type : ability , Data : "Ability A")5. made "Magic effect B". (apply "Perk B")6. made "Potion A" (Effect : "Magic effect B") I expected to add "Ability A" by using the "Potion A", but it didn't work.When applying a duration to the potion, "Ability A" was maintained only for the duration. How do I make a potion that acquires abilities? (I’m worried that the content was delivered well because I’m not good at English.)
IsharaMeradin Posted December 21, 2020 Posted December 21, 2020 One method that might work. Add a script to the magic effect. In the OnEffectFinish event add the spell directly to the player. You can use the OnEffectStart for any visual FX you might want to take place. Simple example (not tested for compilation or functionality): ScriptName AddAbilityByPotionScript Extends ActiveMagicEffect Spell Property myAbilitySpell Auto Event OnEffectFinish(Actor akTarget, Actor akCaster) Game.GetPlayer().AddSpell(MyAbilitySpell) EndEvent
deep911112 Posted December 22, 2020 Author Posted December 22, 2020 Oh...I need to learn how to add a script. Thanks for answering
Recommended Posts