Difference between revisions of "ListReplaceForm"

455 bytes removed ,  10:52, 28 June 2011
m
no edit summary
imported>Omzy
m
imported>Garin
m
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{Function
  |origin = FOSE1
  |origin = FOSE1
  |summary = Replaces a form in a [[FormList]] with the another form. The function returns the index of the removed form.
  |summary = Replaces the specified form with another.
  |name = ListReplaceForm
  |name = ListReplaceForm
|returnVal = oldIndex
  |returnType = int
  |returnType = int
  |arguments =
  |arguments =  
   {{FunctionArgument
   {{FunctionArgument
   |Name = FormListID
   |Name = form list
   |Type = ref
   |Type = ref
   }}{{FunctionArgument
   }}{{FunctionArgument
   |Name = NewFormID
   |Name = replaceWith
   |Type = ref
   |Type = ref
   }}{{FunctionArgument
   }}{{FunctionArgument
   |Name = OldFormID
   |Name = formToReplace
   |Type = ref
   |Type = ref
   }}
   }}
|example = ListReplaceForm myFormList myNewForm myOldForm
}}
}}
 
[[Category:Functions_(FOSE)]]
==Notes==
*See [[ListReplaceNthForm]] for replacing a form at a specific index.
 
==See Also==
*[[ListAddForm]]
*[[ListAddReference]]
*[[ListRemoveForm]]
*[[ListRemoveNthForm]]
*[[ListReplaceNthForm]]
*[[ListGetNthForm]]
*[[ListGetFormIndex]]
*[[ListGetCount]]
*[[AddFormToFormList]]
*[[IsInList]]
*[[IsWeaponInList]]
 
[[Category:List Functions]]
[[Category:List Functions]]
[[Category:Functions]]
Anonymous user