Semi-automatically generated modding documentation for Barotrauma

GodModeAction

Makes a specific character invulnerable to damage and unable to die.

Attributes

Attribute Type Default value Description
Enabled bool true Should the godmode be enabled or disabled?
UpdateAfflictions bool false Should the character’s active afflictions be updated (e.g. applying visual effects of the afflictions)
TargetTag Identifier ”” Tag of the character whose godmode to enable/disable.