Xilandro Posted March 13, 2013 Share Posted March 13, 2013 Is it possible to add actor or base effect when PC\NPC is taking damage from melee and guns without adding script to weapons? Yesh, sure i can add script to weapons, but it will make the mod incompatible with weapons added or changed by other mods. Can somebody help? Link to comment Share on other sites More sharing options...
nonplusultra Posted March 13, 2013 Share Posted March 13, 2013 As I do know, there is no script command to change the effect of a weapon, but you could create a new ammo type, store the current ammo of the weapon and the amount, then change it to your new ammo with the effect and add the amount you have stored before. Link to comment Share on other sites More sharing options...
Xilandro Posted March 13, 2013 Author Share Posted March 13, 2013 No, i don't want change weapon effects. I think my english fails again and i can't clearly explain what i need =\ I want add knockdown effect when health is damaged. Just like in TRE - Low Health Knockdown mod, but unfortunately it's not working on NPCs. Only on player. And i have no idea how to make it work on NPCs too =\ Link to comment Share on other sites More sharing options...
nonplusultra Posted March 13, 2013 Share Posted March 13, 2013 Normally you should be able to track the last ref that got hit by the projectile and if you got the ref of the actor you can do what you want, get the current health perc and knock him down.You could also do it with an effect script, if you still don't know how to let me know, I'll make the script for you tomorrow, today I'm low on time, sry :/ Link to comment Share on other sites More sharing options...
Recommended Posts