Jump to content

Reducing Speed of target with an magic effect


DyslexicSwine

Recommended Posts

Does anybody know how to do this/know of a mod that does this? I want to make a melee weapon that slows an NPC/PC creature down when hit, but I'm not sure how. I tried writing a script for a magic effect:

 

Event OnEffectStart(Actor akTarget, Actor akCaster)
akTarget.DamageValue(Speedmult, 50)
endEvent
but it won't compile, it's giving me "variable Speedmult is undefined"
https://www.reddit.com/r/fo4/comments/3texxt/heres_a_table_of_actor_values/ According to this, Speedmult is correct, and I've tried it with other listed Actor Values, all of them don't compile with the same message.
I'm pretty new to making mods, so idk if manipulating actor values through a magic effect is recommended or if there's a different way to do this, I just landed on using this method because I'm not too familiar with creation kit events yet.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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