SetGroupHostility
This page was generated by Sunjammer's Dragon Age Script Parser.
The parser extracted and matched all the information required to the best of its ability however the parser relies on the source file, and especially a function's comments, to be correctly formatted. If the source file was not correctly formatted the information presented may be incomplete.
This page should be reviewed by a knowledgeable scripter as it may require updating. If an issue with the source file is identified it should be reported to BioWare.
Please remove the {{Generated}} tag once the page has been confirmed or corrected.
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