ScriptEvent:setTakesDamage

From Mod Wiki

Parameters

boolean state -- Whether the entity should take damage or not.

Result

None.

Supported By

idEntity

Functionality

Sets whether or not this entity should take damage.