ScarDoc

Start typing to search the SCAR reference.

Function
EGroup

EGroup_SetHealthMinCap

Set the minimum health for this entity

On this page
EGroup_SetHealthMinCap(egroup, minhealth)

Description

This is usually set to zero, any higher value prevents the entity from having its health reduced below this given value

Parameters

  • egroupEGroupIDrequired
  • minhealthFloatrequired

Returns

Void

Source

Declared in the game's script sources at:

scar/groups.scar