AddPackageAt
From GECK
A function added by the New Vegas Script Extender.
Contents
Description
Adds a package to calling actor's AI package list at a specified index. Using -1 as an index appends the package to the end of the list. Existing packages are not replaced when adding at the same index, indices are shifted up instead.
Syntax
(int:index) actor.AddPackageAt package:baseform index:int actor:reference
Example
SunnyREF.AddPackageAt MyPackage 0