Mod:Creation Kit/RemoveMod - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Removes a mod from this object. Specifically, looks for a mod on this object of type akMod and if it finds one, removes it.

Syntax
Function RemoveMod(ObjectMod akMod) native

Parameters

 * akMod: the base form of a mod that we wish to remove from this reference

Return Value
None.

Examples
myRobot.RemoveMod(RobotArmMod)
 * Get rid of one of myRobot's arm mods. Currently there is a limitation where you can't pick which one. :(