Functions Documentation
View Function Edit Function
Name objGetSellPrice
Syntax (objGetSellPrice spaceObject itemStruct)
Argument List spaceObject: The space object that you want to get the selling price of.
itemStruct: The itemStruct of the item that you want to get the price you can sell it at.
Returns number: The amount that this space object will buy the item for.
Category cash, item, spaceobject
Description Finds the amount the space object would pay for the item.
(objGetSellPrice gSource (itmCreate 0x4001 1))

Returns the price that it would buy a light titanium armor for the calling object.
Comment For the gplayership returns Nil. Also remember the sell in it means from the players point of view not the spaceobjects.