modding:function:objgetsellprice
Discuss this page on this pages TalkPage
objGetSellPrice
See objGetSellPrice at Xelerus
| Syntax | (objGetSellPrice spaceObject itemStruct) |
|---|---|
| Arguments | 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. |
Example
(objGetSellPrice gSource (itmCreate 0x4001 1))
Returns the price that it would buy a light titanium armor for the calling object. Return to Functions list
modding/function/objgetsellprice.txt · Last modified: by 127.0.0.1
