Difference between revisions of "SetEnemy"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>SnakeChomp
(Use function template. Really fix wrapping by not including explanation in preformatted text.)
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
 
(One intermediate revision by the same user not shown)
Line 32: Line 32:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Faction Functions]]
[[Category:Faction Functions]]
[[Category:Faction Functions (GECK 1.1)]]

Latest revision as of 13:07, 15 August 2009

< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

SetEnemy sets an enemy/neutral relationship between two factions. It is not called on a reference.

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