Functions Documentation
View Function Edit Function
Name scrGetItem
Syntax (scrGetItem screen)
Argument List screen: The screen you want to get the currently selected item from.
Returns itemStruct: The currently selected item.
Category screen, input
Description Returns the currently selected item.
Example
Comment 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.