Difference between revisions of "ListRemoveForm"

312 bytes removed ,  13:41, 29 June 2014
added that it returns index too + see also
imported>Omzy
m
imported>Odessa
(added that it returns index too + see also)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Function
{{Function
  |origin = FOSE1
  |origin = FOSE1
  |summary = Removes a form from a [[FormList]]. The function returns the index of the removed form.
  |summary = Removes the specified form from the form list. Returns the index of the removed form.  
  |name = ListRemoveForm
  |name = ListRemoveForm
|returnVal = oldIndex
  |returnType = int
  |returnType = int
  |arguments =  
  |arguments =  
   {{FunctionArgument
   {{FunctionArgument
   |Name = FormListID
   |Name = form list
   |Type = ref
   |Type = ref
   }}{{FunctionArgument
   }}{{FunctionArgument
   |Name = FormID
   |Name = form
   |Type = ref
   |Type = ref
   }}
   }}
|example = ListRemoveForm myFormList myForm
}}
}}
==Notes==
*See [[ListRemoveNthForm]] for removing the form that resides at a particular index.
==See Also==
==See Also==
*[[ListAddForm]]
*[[ListAddReference]]
*[[ListRemoveNthForm]]
*[[ListRemoveNthForm]]
*[[ListReplaceForm]]
*[[ListClear]]
*[[ListReplaceNthForm]]
*[[Ar_Erase]]
*[[ListGetNthForm]]
[[Category:Functions_(FOSE)]]
*[[ListGetFormIndex]]
*[[ListGetcount]]
*[[AddFormToFormList]]
*[[IsInList]]
*[[IsWeaponInList]]
 
[[Category:List Functions]]
[[Category:List Functions]]
Anonymous user