Log in

View Full Version : CoD2 How to make level.player invulnerable?



BrandonDR
20th January 2026, 23:54
Hello, does anyone know if there is a way to make the Level Player (SP) invulnerable to damage via GSC, I have tried the following:

level.player EnableHealthShield( true ); // this does not seem to have any effect

and I have also tried giving health constantly to the player but nothing seem to work so far.

Ni3ls
21st January 2026, 10:02
Do you mean in Singleplayer campaign?

BrandonDR
21st January 2026, 17:40
Yes, I am making Singleplayer mods.

BrandonDR
23rd January 2026, 18:58
// SOLVED // I already solved this problem, thanks.