Discuss this page on this pages TalkPage
See shpGetImageDesc at Xelerus
Syntax | (shpGetImageDesc spaceObject [number]) |
---|---|
Arguments | spaceObject: the spaceobject that you want the details of the image used. |
number: optional parameter that specifies the rotation of the ship. | |
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, ship, unid |
Description | Returns details on the resource image used by a ship. |
(shpGetImageDesc gPlayership)
returns (61757 0 0 64 64) if the player is using the Freighter. Return to Functions list