SetAlly

From the Fallout3 GECK Wiki
Revision as of 12:27, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Jump to navigation Jump to search

Description

SetAlly Sets a friend/ally relationship between two factions. It is not called on a reference.

Syntax

SetAlly Faction1 Faction2 F1toF2Flag (0/1) (optional) F2toF1Flag  (0/1) (optional)

Examples

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

Reference

None provided.