Difference between revisions of "SetGroupHostility"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (for some reason this particular function refused to import due to a mysterious XML parser error. Importing manually.) |
BryanDerksen (Talk | contribs) (looks okay, removing tag) |
||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=SetGroupHostility | |name=SetGroupHostility |
Latest revision as of 23:14, 11 February 2010
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