Difference between revisions of "ListAddReference"

From GECK

m
 
Line 16: Line 16:
 
   }}
 
   }}
 
}}
 
}}
 +
Note that forms added to a list with this function will not persist across savegames.  If you need to add items to a list that will be preserved in a saved game, use [[AddFormToFormList]]
 
[[Category:Functions_(FOSE)]]
 
[[Category:Functions_(FOSE)]]
 
[[Category:List Functions]]
 
[[Category:List Functions]]

Latest revision as of 10:01, 18 August 2012

A function added by the Fallout Script Extender.

Description

Adds the calling reference at the given index (or at the end if not provided)

Syntax

(int) ref.ListAddReference form list:ref index:int 

Or:

(int) ref.ListAddRef form list:ref index:int

Note that forms added to a list with this function will not persist across savegames. If you need to add items to a list that will be preserved in a saved game, use AddFormToFormList

Personal tools