IsObjectHostile

From Dragon Age Toolset Wiki
Jump to: navigation, search

Returns whether two objects are hostile to each other.

int IsObjectHostile(
object oSource,
object oTarget
);
Parameters:
oSource
The source object to use to check the hostility tables
oTarget
The target object to use to check the hostility tables
Returns:

Returns TRUE if the two objects are hostile to one another, FALSE otherwise. Returns FALSE on error.

Source:

script.ldf

Description

This function checks the hostility of the two specified objects and returns whether they are hostile to each other or not. If either of the two objects are not valid, the function will return FALSE


See also

SetGroupHostility, GetGroupHostility