Jump to content

Scripting question


Xilandro

Recommended Posts

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

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

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

  • Recently Browsing   0 members

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