Discuss this page on this pages TalkPage
See objGetImageDesc at Xelerus
Syntax | (objGetImageDesc spaceObject) |
---|---|
Arguments | spaceObject: the spaceobject that you want the details of the image used. |
Returns | list: a list of 5 numbers, the first is the UNID of the image resource as a number, the second and the third are the x,y coordinates in pixels of the resource image (from the top left corner of the image) the fourth and fifth are the sizes of the resource image in pixels. (first width then height) |
Category | 0.99, spaceobject, unid |
Description | Returns details on the resource image used by a spaceObject. |
(objGetImageDesc gPlayership)
returns (61757 0 0 64 64) if the player is using the Freighter. Return to Functions list