GameSetRelationshipBetweenRelationshipGroups Method RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Sets the relationship between the specified relationship groups.

Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.47.1037.9935)
Syntax

public static void SetRelationshipBetweenRelationshipGroups(
	RelationshipGroup sourceGroup,
	RelationshipGroup targetGroup,
	Relationship relationship
)

Parameters

sourceGroup
Type: RageRelationshipGroup
The source group.
targetGroup
Type: RageRelationshipGroup
The target group.
relationship
Type: RageRelationship
The relationship.
Examples

The following example makes the group "COP" hate the group "CRIMINAL", but not "CRIMINAL" hate "COP".
Game.SetRelationshipBetweenRelationshipGroups("COP", "CRIMINAL", Relationship.Hate);
See Also

Reference