Thing Damage2

From Eternity Wiki
Revision as of 02:59, 10 May 2026 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Damages tagged things by given value and damagetype |usage=''int'' '''Thing_Damage2'''(''int tid'', ''int amount'', ''str type'') |parameters= *''tid'': TID of things to damage *''amount'': how much damage to deal *''type'': damagetype |return=How many things were damaged (or attempted to be damaged, if otherwise invulnerable). |id=ACC internal}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Damages tagged things by given value and damagetype

Usage[edit]

int Thing_Damage2(int tid, int amount, str type)

Parameters[edit]

  • tid: TID of things to damage
  • amount: how much damage to deal
  • type: damagetype

Return value[edit]

How many things were damaged (or attempted to be damaged, if otherwise invulnerable).

Examples[edit]

No examples given.

Notes[edit]

No particular notes.

This function's identification in zspecial.acs is: ACC internal.

See also[edit]