Disease HasDisease

From Dragon Age Toolset Wiki
Revision as of 14:27, 27 March 2012 by Sunjammer (Talk | contribs) (Fixing source, adding categories)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns whether or not a character has a disease

int Disease_HasDisease(
object oCharacter,
int nDiseaseID
);
Parameters:
oCharacter
the Creature to check
nDiseaseID
the Disease to check for. If -1, it will return TRUE if ANY disease is present.
Returns:

TRUE if the Creature has the Disease; otherwise FALSE

Source:

Core Game Resources.sys_disease

Description

Checks if a character currently has a certain disease effect applied to him. Disease effects are defined in the diseases 2da file.