Discuss this page on this pages [[objGetArmorReplacePrice Talk Page|TalkPage]] === objGetArmorReplacePrice === ^ Syntax | (objGetArmorReplacePrice obj armorItem) | ^ Arguments | obj: The object you want to get the price from | ^ | armorItem: The armor item to be installed | ^ Returns | Price | ^ Category | [[spaceObject functions]]| ^ Description | Used to get the cost of replacing an armor segment with a given armor item on the object. | === Example === (objGetArmorReplacePrice gSource armorItem) Returns the cost for the source object to replace an armor segment with the armorItem. There is generally no cost for removing the old segment, so it does not need to be specified. Return to [[modding:function:spaceObject_functions|Space Object functions]] list Return to [[modding:functions:]] list