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

Description

Wiki Description

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

Documentation Comment

Obtains this actor's faction-based reaction to the other 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 Bob's faction
if (Bob.GetFactionReaction(Jake) == 3) ; 3 = Friend
  Debug.Trace("Bob is a friend of Jake")
endIf

Auto-Generated Example

Actor myActor__akOther

int returnedValue = myActor__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.