GetPaired

From GECK
Jump to: navigation, search


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.

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