Difference between revisions of "ListAddReference"
Jump to navigation
Jump to search
imported>Omzy m |
imported>Prideslayer |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = FOSE1 | |origin = FOSE1 | ||
|summary = Adds | |summary = Adds the calling reference at the given index (or at the end if not provided) | ||
|name = ListAddReference | |name = ListAddReference | ||
| | |alias = ListAddRef | ||
|returnType = int | |returnType = int | ||
|referenceType = | |referenceType = ref | ||
|arguments = | |arguments = | ||
{{FunctionArgument | {{FunctionArgument | ||
|Name = | |Name = form list | ||
|Type = ref | |Type = ref | ||
}}{{FunctionArgument | }}{{FunctionArgument | ||
|Name = index | |Name = index | ||
|Type = int | |Type = int | ||
|Optional = | |Optional = optional | ||
}} | }} | ||
}} | }} | ||
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:List Functions]] | [[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
(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