CopyIR

From the Fallout3 GECK Wiki
Revision as of 08:00, 16 July 2014 by imported>Odessa (created based on nvse_whatsnew/gribbleshnibbit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

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 true if it succeeds, although it is not necessary to check this.

Syntax

[help]
(Success:bool) InvRef.CopyIR Location:Container

Example

; Within an object script:
CopyIR PlayerREF

See Also