aimodel.removeFunction
Removes a function from the AIModel.
Prototype
bOk = aimodel.removeFunction ( hAIModel, sName|nIndex )
Description
Removes a function from the AIModel at the specified index/with the appropriate name.
Parameters
hAIModel - valid AIModel handle
sName|nIndex - function name or index 1..nFunctionCount
Return values
bOk - true if operation was successful
Sample
for i = 1, #tFunctionsToRemove do aimodel.removeFunction ( hResource, tFunctionsToRemove[i] ) end
Available since ShiVa 2.0