Background for Fallout 4
Member of the ObjectReference script
voidfunctionRemoveMod(ObjectModakMod)Native

Description

Wiki Description

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

Documentation Comment

Remove the requested mod from the reference


Caveats

CK Wiki - Notes

Changing an armor item's mods causes it to be silently unequipped and re-equipped.


Parameters

ObjectModakMod

CK Wiki Description

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


Examples

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

Auto-Generated Example

ObjectMod myObjectMod__akMod

myObjectReference__toCallFunctionOn.RemoveMod(myObjectMod__akMod)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.