Background for Fallout 4
Member of the Faction script
intfunctionGetFactionReaction(ActorakOther)Native

Description

Wiki Description

Get the faction-based reaction between this faction and an actor.

Documentation Comment

Obtains this factions faction-based reaction to the actor
0 - Neutral
1 - Enemy
2 - Ally
3 - Friend


Caveats


Parameters

ActorakOther

CK Wiki Description

The other actor to determine our faction-based reaction with.


Examples

; Print a message if Jake's faction is a friend of the radier faction
if (RaiderFaction.GetFactionReaction(Jake) == 3) ; 3 = Friend
  Debug.Trace("Raider Faction is a friend of Jake")
endIf

Auto-Generated Example

Actor myActor__akOther

int returnedValue = myFaction__toCallFunctionOn.GetFactionReaction(myActor__akOther)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.