ScarDoc

Start typing to search the SCAR reference.

Function
Entity

Entity_SetInvulnerable

Set invulnerability on the entity. Reset time is in seconds. If it it set, the invulnerability will expire after this time.

On this page
Entity_SetInvulnerable(entity, enable, reset_time)

Description

Set invulnerability on the entity. Reset time is in seconds. If it it set, the invulnerability will expire after this time.

Parameters

  • entityEntityIDrequired
  • enableBooleanrequired
  • reset_timeFloatrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/entity.scar