Difference between revisions of "ListAddReference"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
(Automated import of articles)
imported>Prideslayer
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''ListAddReference'''
{{Function
{{Function
  |origin = FOSE1
  |origin = FOSE1
Line 17: 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]]

Latest revision as of 10:01, 18 August 2012

< [[::Category:Functions|Category:Functions]]

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

[help]
(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