ListReplaceForm
Revision as of 13:13, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
< [[::Category:Functions|Category:Functions]]
A function added by the Fallout Script Extender.
Description
Replaces a form in a FormList with the another form. The function returns the index of the removed form.
Syntax
(oldIndex:int) ListReplaceForm FormListID:ref NewFormID:ref OldFormID:ref
Example
ListReplaceForm myFormList myNewForm myOldForm
Notes
- See ListReplaceNthForm for replacing a form at a specific index.