DyslexicSwine Posted October 16, 2023 Share Posted October 16, 2023 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 More sharing options...
hereami Posted October 17, 2023 Share Posted October 17, 2023 Gotta define it as Property via script Add Property button. Unless you perfectly understand why want a script here, then would rather use just MagicEffect with some duration, Value Modifier, Detrimental, Recover. Look at how things are done in CK. https://www.creationkit.com/ Link to comment Share on other sites More sharing options...
Recommended Posts