RemovePackageAt

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Removes the Nth package from actor's AI package list. If -1 is used as an index, the package is removed from the end of the list. Indices are shifted when removing the package, and new package at the same index is returned.

Syntax

[help]
(newPackage:form) actor.RemovePackageAt index:int actor:reference

Example

BuddyRef.RemovePackageAt 0 

See Also