RemoveMod - ObjectReference

Member of: 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.

SyntaxEdit

Function RemoveMod(ObjectMod akMod) native

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

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

NotesEdit

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

See AlsoEdit