SetEnemy

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

SetEnemy sets an enemy/neutral 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]
SetEnemy Faction1 Faction2 F1toF2Flag{0,1} F2toF1Flag{0,1} 

Examples

SetEnemy BrotherhoodSteelFaction EnclaveFaction

This makes the BrotherhoodSteelFaction and the EnclaveFaction Enemies of each other

SetEnemy BrotherhoodSteelFaction EnclaveFaction 1 0

This makes the BrotherhoodSteelFaction Neutral to EnclaveFaction but EnclaveFaction will treat BrotherhoodSteelFaction as an Enemy

Notes

  • The values for the flag mean:
    • 0 = Enemy (default)
    • 1 = Neutral

See Also