CopyIRAlt

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender version 6.3.3.

Description

Copies an inventory reference to the specified container. The calling object needn't be in a container and remains valid after the command is called. If the calling object is equipped, the copy will not be equipped.

Returns the newly copied inventory reference if it succeeds.

Syntax

[help]
(copiedInvRef:reference) InvRef.CopyIRAlt Location:Container

Example

ref rCopiedInvRef = someInvRef.CopyIRAlt PlayerREF 

See Also