halflife-unified-sdk
halflife-unified-sdk copied to clipboard
Add god mode support to NPCs
NPCs should also have the option to have god mode turned on, which disables damage just like it does for the player.
Note that some NPCs clear all of their flags which includes FL_GODMODE
. This needs to be changed to prevent them from suddenly losing their god mode setting.