Functions Documentation
View Function Edit Function
Name shpGetImageDesc
Syntax (shpGetImageDesc spaceObject [number])
Argument List 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
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.
Comment Helpful function for image resource management. For retrieving informations on station images use objGetImageDesc