CopyIR
From GECK
A function added by the New Vegas Script Extender.
Contents
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
(Success:bool) InvRef.CopyIR Location:Container
Example
; Within an object script: CopyIR PlayerREF
See Also
- CopyIRAlt - Same as this but returns the newly copied inventory reference
- RemoveMeIR