ListReplaceForm
Revision as of 21:53, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions \(GECK 1.0\)\]\] +Category:\1Functions (FOSE)))
< [[::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.