a custompicker takes a list like this:
(list ;;stuff to display
(list 'Name [picture] 'Description ...[any other data you want]);; selectable to display
...[any more selectables to display]
)
I could not figure out how to get the picture to display. It seems that doing:
&rsImageUnid and (list &rsImageUnid) did nothing, so I am not sure what it is expecting, and I was unable to find any specific documentation
Show image in a custompicker list?
[picture] is an imageDesc.
Example (courtesy of PM):
Note: customPicker images are broken, image sizes smaller than 96x96 will not be cropped and will instead be treated as 96x96. Only workaround available is to use separate pre-cropped image files.
Code: Select all
(resCreateImageDesc imageUNID x y width height) -> imageDesc
Code: Select all
<DockScreen UNID="&dsChooseItemCategory;"
type= "customPicker"
backgroundID= "&rsItemListScreen;"
nestedScreen= "true"
>
<List>
(list
(list "List entry name here" (resCreateImageDesc &rsItem912Weapon; 0 0 24 24) "Description text here")
(list "List entry two name here" (resCreateImageDesc &rsItem912Launcher; 0 0 24 24) "Description text here")
)
<List>
</Dockscreen>
Fiction is reality, simplified for mass consumption.
PGP: 0x940707ED, 5DB8 4CB4 1EF5 E987 18A0 CD99 3554 3C13 9407 07ED
Bitcoin: 1LLDr7pnZDjXVT5mMDrkqRKkAPByPCQiXQ
PGP: 0x940707ED, 5DB8 4CB4 1EF5 E987 18A0 CD99 3554 3C13 9407 07ED
Bitcoin: 1LLDr7pnZDjXVT5mMDrkqRKkAPByPCQiXQ
- Arisaya
- Fleet Admiral
- Posts: 5535
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
Thanks! Ill try this out.
Thanks, it works!
Thanks, it works!
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>