Mod:Creation Kit/RemoveComponents - ObjectReference

Mod:Creation Kit/Category:Scripting Mod:Creation Kit/Category:Papyrus Mod:Creation Kit/Category:Latent Functions Member of: Mod:Creation Kit/ObjectReference Script

Removes the a certain count of a specified component from the container's inventory, scrapping objects as necessary, and returning the change to the container.

Parameters

 * akComponent: The component to remove.
 * aiCount: How many components to remove. (Not items)
 * Default: 1
 * abSilent: If true, no message will be printed to the screen
 * Default: false

Return Value
None.