Peanut7633 Posted April 7, 2013 Share Posted April 7, 2013 Hi, i'm stuck. Im trying to make a magic effect with a script that will push the actor when hit. I want the npc just to fall over when i hit it with a weapon but i'm completely clueless. So i'm wondering if anyone is able to figure this out, if it is at all possible ofc. Link to comment Share on other sites More sharing options...
SSSl4Yer Posted April 22, 2013 Share Posted April 22, 2013 (edited) Do you need this effect on specific weapon or you need universal magic effect which can be applied as an enchantment?Any way here is wroking script which you can apply on any weapon as an enchantment: Scriptname <whatever your script is called> extends ActiveMagicEffect float fImpulse = 100.0 Event OnEffectStart(Actor akTarget, Actor akCaster) akCaster.PushActorAway(akTarget, 0.0) akTarget.ApplyHavokImpulse(0.0, 0.0, 1.0, fImpulse) endEvent All you need to do is: 1) Find section "Magic\Magic Effect" in the Object Window; create new Magic Effect (or copy and change existing) and change following parameters: Effect Archetype => Script, Casting Type => Fire and Forget, Delivery => Contact; under "Flags" check mark to "No Magnitude". Visual effects are on your taste. Under "Papyrus Scripts" add new script and copy code above. Magic effect is created. 3) Create new enchantment (section Magic\Enchantment in the Object Window) and add your magic effect to the "Effects" field (change parameters: Type => Enchantement, Casting => Fire and Forget, Delivery => Contact). Enchatment is ready. 4) Apply your enchantement on your weapon, enjoy. P.S. you can adjust strength by changing float fImpulse or even change direction of impulse Result: http://www.youtube.com/watch?v=Y6c-uPfSvPQ Edited April 22, 2013 by SSSl4Yer Link to comment Share on other sites More sharing options...
Ashenfire Posted May 6, 2013 Share Posted May 6, 2013 @sssl4yer Do you have any mod help items? I have a Skybrary already started and uploaded, but I can't seem to find a way to start a quest from another quest; or advance a stage when 2 quests are running in parallel. Every time I try a function on the STAGE tab or in dialogue, compiler just complains. Copying from Wiki and creationkit.com isn't helping. I already have the first part of the quest working, so I am at least familiar with advancing stages inside the same quest. Link to comment Share on other sites More sharing options...
SSSl4Yer Posted May 11, 2013 Share Posted May 11, 2013 @sssl4yer Do you have any mod help items? I have a Skybrary already started and uploaded, but I can't seem to find a way to start a quest from another quest; or advance a stage when 2 quests are running in parallel. Every time I try a function on the STAGE tab or in dialogue, compiler just complains. Copying from Wiki and creationkit.com isn't helping. I already have the first part of the quest working, so I am at least familiar with advancing stages inside the same quest.You need what: 1) start quest from another quest, correct? 2) advance quest stage? What does that mean: "I have a Skybrary already started and uploaded"?By the way, send messages directly to me plz Link to comment Share on other sites More sharing options...
Ashenfire Posted May 22, 2013 Share Posted May 22, 2013 Skybrary: Skyrim Library.....collected information from many resources. Link to comment Share on other sites More sharing options...
Recommended Posts