SetGroupHostility
From Dragon Age Toolset Wiki
Sets whether two groups are hostile to each other.
- Parameters:
- nGroupA
- The source group to use to check the hostility tables
- nGroupB
- The target group to use to check the hostility tables
- bHostile
- Specifies whether to set the two groups as hostile or not
- Returns:
- Nothing.
- Source:
- script.ldf
Description
This function sets the group hostility between the two specified groups. Creatures default to their group’s hostility, but this can be overridden with SetReactionOverride(). If two creatures are not hostile to each other they cannot engage in hostile actions with each other in any way, shape or form.
See also
GetGroupHostility, GetGroupId, SetGroupId, SetReactionOverride, GetReactionOverride