RemoveMod - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 14:43, 14 October 2014 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

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

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

See Also