Functions Documentation | |
Name | resCreateImageDesc |
Syntax | (resCreateImageDesc imageUNID x y width height) -> imageDesc |
Argument List | imageUNID: the unid of the image x: the x coordinate of where the image should be y: the y coordinate of where the image should be width: the width of the image height: the height of the image |
Returns | imageDesc: a list of 5 numbers. they are: 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 | canvas, screen |
Description | used to create an imagedescription in code. |
Example |
taken from &itMRADExperiment;
(resCreateImageDesc &rsMRADConsole; 0 (if MRADProbe1 0 172) 182 172) |
Comment |
Mod of the Month (January '25) |
Featured Mods (random) |
TX2 Centauri Module |
Ore Smelters & Fuel Makers Pack 1.0 |
Quality Mods (random) |
Cruiser, and a pair of fighters. |
Billboards |
Balanced Mods (random) |
Northwind Equipment Pack for 1.0 |
Tech Analyzer |