User Tools

Site Tools


modding:function:scrgetitem

Discuss this page on this page's Talk Page

scrGetItem

See scrGetItem at Xelerus

Syntax (scrGetItem screen) → itemStruct
Arguments screen: The screen you want to get the currently selected item from.
Returns itemStruct: The currently selected item.
Category input, screen
Description Returns the currently selected item.

Allows you to get an item selected by the player or the currently selected item by the Initialize element. The Initialize element iterates over every item before they are displayed to the player allowing you to make descriptions, adjust prices, or anything you would need to do for it to display quickly.

Example

TODO

Return to Functions list

modding/function/scrgetitem.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1