Jump to content

Actor Values for Crippled Body Parts?


Recommended Posts

I'm at the point with the creation kit where I'm about to uninstall it.

 

So I've looked at the Misc section in the CK where all the AV are listed, but some of them don't work, etc. What is the AV for head being crippled? I'm done searching for the command at this point. Don't tell me it's PerceptionCondition, because I've been trying to use that command for the past three days now in this script, and it apparently doesn't even work... awesome!

 

Unless PerceptionCondition isn't interchangeable with something like RightMobilityCondition (because my script works perfectly fine with those two commands switched).

Scriptname OnHitHeadCrippleScript extends ActiveMagicEffect

Int property CrippleChance auto
ActorValue property RightMobilityCondition auto

Event OnEffectStart(Actor akTarget, Actor akCaster)
    Int roll = utility.RandomInt(1, 100)
    
    If (roll <= CrippleChance)
        akCaster.DamageValue(RightMobilityCondition, 100)
    endIf
endEvent

I've attached this to an object in-game (magazine) and when I pick it up, my leg cripples immediately, so I know it's working. My ultimate goal is to get the script to increase the likelihood of the player receiving the head cripple effect (not the actual damaged limb) once, and then fading away.

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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