Jump to content

Ignore Crippled Limbs


Will58448

Recommended Posts

I'm trying to add an effect to Med-X to make it ignore crippled limbs for a duration, much like it did in Project Nevada for FNV.

 

Whilst exploring the creation kit, it seems most things are already in place to allow me to add it. In fact it currently exists on Mounted Minigun Furniture, which ignores crippled limbs when activated.

 

So far I've created a new magic effect and attached a new script:

 

 

Scriptname IgnoreCrippledLimbs extends ActiveMagicEffect
ActorValue Property ignoreCrippleValue Auto const
Event OnEffectStart(Actor akTarget, Actor akCaster)
akTarget.SetValue( ignoreCrippleValue, 1 )
EndEvent

I've attached the magic effect to Med-X, but nothing happens. Anyone know what I'm missing?

Link to comment
Share on other sites

  • 1 year later...
  • 1 month later...

In case you guys are still looking for a solution to this, I have made a working script:

 

 

 

Scriptname IgnoreCrippledLimbsScript extends ActiveMagicEffect
ActorValue Property IgnoreCrippledLimbs Auto const
Event OnEffectStart(Actor akTarget, Actor akCaster)
akTarget.SetValue( IgnoreCrippledLimbs, 1 )
EndEvent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
akTarget.SetValue( IgnoreCrippledLimbs, 0 )
EndEvent
Link to comment
Share on other sites

  • Recently Browsing   0 members

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