$RemoveOption:

From GECK
Jump to: navigation, search

Weapon Smith

Description

Removes a weapon mod from the Weapon Smith menu when the specified weapon mod is attached.

Syntax

$RemoveOption: (EditorID of Attachment to remove)

Example

$EditorID: MyAttachment
$RemoveOption: MyOtherAttachment

When MyAttachment is equipped, removes MyOtherAttachment from the available options in the menu.

Notes

  • If the attachment to remove is currently equipped on the weapon, it will be forcibly detached, and any requirements for that mod will be given back to the player.
  • removing a mod from the same mod slot as the calling mod can cause the menu to break under certain conditions. You shouldn't be removing mods from the same slot anyways, as only 1 can be attached at a time.

See Also