Jump to content

Using spell to force Bleed out status w/out scripts


sixpak

Recommended Posts

I've had another user give a nice suggestion on how to potential have a spell force the bleed out status using a script, but i'd like to see if i can have this pulled off without.

 

Does anyone have any idea's/suggestions to have a spell force it's target to go into 'bleeding out' status? ( where they fall to their knees)

 

Thanks for any help.

Link to comment
Share on other sites

ooks like i'll need to use a script. I'm at work at the moment so i can't try this. But i copied the script from SPERG perk mod 'cripple' perk and i intend to add it to the magic effect for the spell i want to cause the bleed out. Anyone foresee any problems with it working? I have no knowledge of scripting at the moment but trying to start learning what I can.

Scriptname SPECrippleScript extends activemagiceffect

{Plays bleedout animations.}

Idle property BleedOutStart auto
Idle property BleedOutStop auto

Event OnEffectStart(Actor akTarget, Actor akCaster)
akTarget.PlayIdle(BleedOutStart)
EndEvent

Event OnEffectFinish(Actor akTarget, Actor akCaster)
akTarget.PlayIdle(BleedOutStop)
EndEvent

Link to comment
Share on other sites

  • 1 year later...

I know this is an old post but I figured I might as well reply. According to the Creation Kit website the structure used in that script isn't very stable, because it can apparently be overridden by another script, causing it to become stuck. (I've never used this script so I don't know if it's known to cause issues).

I would probably try something along the lines of

 

Scriptname bleedoutScript extends ActiveMagicEffect

 

Event OnEffectStart(Actor Target, Actor Caster)

if(Target.GetActorBase().IsEssential() == false)

Target.GetActorBase().SetEssential()

Target.Kill()

Target.GetActorBase().SetEssential(false)

else

Target.Kill()

endif

EndEvent

 

 

I have to admit I'm not entirely sure if this would work since I haven't tried it yet, and this way of achieving the effect would also prevent you from adding a duration to the spell. Lastly, the effect might simply cause an actor to die once the essential flag is cleared. For what it's worth after such a long time, I hope it helps someone.

Link to comment
Share on other sites

  • 6 years later...

I know this is an old post but I figured I might as well reply. According to the Creation Kit website the structure used in that script isn't very stable, because it can apparently be overridden by another script, causing it to become stuck. (I've never used this script so I don't know if it's known to cause issues).

I would probably try something along the lines of

 

Scriptname bleedoutScript extends ActiveMagicEffect

 

Event OnEffectStart(Actor Target, Actor Caster)

if(Target.GetActorBase().IsEssential() == false)

Target.GetActorBase().SetEssential()

Target.Kill()

Target.GetActorBase().SetEssential(false)

else

Target.Kill()

endif

EndEvent

 

 

I have to admit I'm not entirely sure if this would work since I haven't tried it yet, and this way of achieving the effect would also prevent you from adding a duration to the spell. Lastly, the effect might simply cause an actor to die once the essential flag is cleared. For what it's worth after such a long time, I hope it helps someone.

Thanks for this reply man, I"m actually back at it years later and still trying to find a good way to add this effect to an already existing target spell. If i can remember how to get everything working again i'll give your script idea a go.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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