Disease HasDisease

From Dragon Age Toolset Wiki
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.