TheBlob2 Posted January 21, 2015 Share Posted January 21, 2015 ive been fiddling around the game settings in the geck for a few hours trying to add fatigue damage to fists but to no avail. it seems the only way of adding fatigue damage to fists is with perks but i want npc fists to do fatigue damage aswell. it seems i may need to make a script for this, but one already exists, the boxing gloves KO script. i tried to add the script to the fists weapon in the geck. but it doesnt work. what does the fist weapon do? and how do i apply scripts to fists? Link to comment Share on other sites More sharing options...
Ladez Posted January 21, 2015 Share Posted January 21, 2015 You're right, adding the boxing gloves script doesn't seem to work. Odd, really. But what does work is using an event handler, a new feature in NVSE 4.6. Look here for details. You want to set up a handler to call a function whenever an OnHitWith event happens in the game. This user defined function will deal fatigue damage to all actors and non-robotic creatures when the event occurs: ScriptName HitWithScript reference rTarget reference rWeapon Begin _Function { rTarget, rWeapon } If rTarget.IsActor || ( rTarget.GetIsCreature && rTarget.GetIsCreatureType 6 != 1 ) rTarget.DamageActorValue Fatigue 100 EndIf End This regular quest script will set up the handler every time the game loads: ScriptName BeginScript Begin GameMode If GetGameLoaded SetEventHandler "OnHitWith" HitWithScript "object"::Fists EndIf End To use this, you will need the latest version of NVSE, currently 4.6 beta. Link to comment Share on other sites More sharing options...
TheBlob2 Posted January 21, 2015 Author Share Posted January 21, 2015 im no good with this quest script stuff. could you put it in an esp for me please? Link to comment Share on other sites More sharing options...
Ladez Posted January 21, 2015 Share Posted January 21, 2015 Sure, here you go. Link to comment Share on other sites More sharing options...
TheBlob2 Posted January 21, 2015 Author Share Posted January 21, 2015 (edited) thanks, are you going to publish this? i imagine some people might want it Edited January 21, 2015 by TheBlob2 Link to comment Share on other sites More sharing options...
Ladez Posted January 21, 2015 Share Posted January 21, 2015 Probably not--it would take me longer to set up a page than it did to make the mod. But feel free to modify, use and/or release as you see fit. :) Link to comment Share on other sites More sharing options...
Recommended Posts