SetAlly

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Sets a friend/ally relationship between two factions. It is not called on a reference. Will add the second argument faction to the first argument faction's reaction list if it is absent from the list.

Syntax

[help]
SetAlly faction1:baseform faction2:baseform F1toF2Flag:int F2toF1Flag:int

Example

SetAlly BrotherhoodSteelFaction RivetCityFaction

This makes the BrotherhoodSteelFaction and the RivetCityFaction allies with each other

SetAlly BrotherhoodSteelFaction RivetCityFaction 0 1 

This makes the BrotherhoodSteelFaction an Ally of RivetCityFaction RivetCityFaction a Friend to BrotherhoodSteelFaction

Notes

  • The values for the flag mean:
    • 0 = Ally (default)
    • 1 = Friend

See Also