GetPaired

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns true (1) if the calling reference and passed reference cross reference each other, through the form variables of the specified token in their inventories. Added by NVSE 3.1.

Syntax

[help]
(bool) actor.GetPaired Token:baseform Another:actor

Example

; Context:
SunnyREF.SetTokenRef MarriageToken, EasyPeteREF
EasyPeteREF.SetTokenRef MarriageToken, SunnyREF

; Example:
SunnyREF.GetPaired MarriageToken, EasyPeteREF ; * will return 1

See Also