NPCMedkits [Rewritten]

If you liked this item, please rate it up on Steam Workshop page.

Author: The G-Man

Last revision: 30 May, 2020 at 19:59 UTC

File size: 5.81 KB

On Steam Workshop

Description:

Gives NPCs an ability to use Medkits and Health Vials. When there are no enemies around and they are hurt, they will run to the nearest medkit/health vial if they see one.

I have rewritten the addon from scratch, and hopefully now it’s much more optimized

Console Commands:
NPCMK_enabled (1/0) (Enable/Disable NPCMedkits)
NPCMK_RunToMedkits (1/0) (Enable/Disable the ability to run to medkits)
NPCMK_MedkitHealth (def. 25) (How much health will NPCs get from a medkit?)
NPCMK_VialHealth (def. 10) (How much health will NPCs get from a health vial?)
NPCMK_HumanoidOnly (def. 0) (Can only humanoid creatures use health?)
NPCMK_UseChargers (def. 0) (Will NPC’s use chargers?)

Top priority issues:
Hopefully none

TODO:
Drain chargers when used by NPCs
Finish blacklist feature

My other addons:
https://steamcommunity.com/sharedfiles/filedetails/?id=1494884021 (NPCDeathmatch)
https://steamcommunity.com/sharedfiles/filedetails/?id=1437320777 (Revengeful Citizens)
https://steamcommunity.com/sharedfiles/filedetails/?id=1828678843 (Ragdoll Incineration)