Difference between revisions of "ListReplaceForm"

449 bytes removed ,  10:52, 28 June 2011
m
no edit summary
imported>Omzy
(new fose function)
 
imported>Garin
m
 
(8 intermediate revisions by 3 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]]
*[[ListGetForm]]
*[[ListGetNthForm]]
*[[ListGetFormIndex]]
*[[ListGetcount]]
*[[AddFormToFormList]]
*[[IsInList]]
*[[IsWeaponInList]]
 
[[Category:List Functions]]
[[Category:List Functions]]
Anonymous user