HasDeathEffect

From Dragon Age Toolset Wiki
Jump to: navigation, search

This page was generated by Sunjammer's Dragon Age Script Parser.

The parser was unable to extract and/or match all the information required and has flagged this page as containing one or more errors. The source file was not formatted correctly and the information presented is incomplete or incorrect.

This page must be reviewed by a knowledgeable scripter as it will need to be updated. Once identified, the issue in the source file should be reported to BioWare.

Please remove the {{Generated with errors}} tag once the page has been corrected.

Is this object dying or dead?

int HasDeathEffect(
object oObject = OBJECT_SELF,
int bCheckForDeathEvent = FALSE
);
Parameters:
oObject
the creature that we are checking
bCheckForDeathEvent
[Undocumented]
Returns:

Returns TRUE if the object has a death effect

Source:

script.ldf

Description

If a creature has a death effect then it has already started dying or is already dead. This can be used to know if a creature has already started a deathblow animation but its hit points have not been updated.