FindID

From Wiki
Revision as of 10:13, 1 September 2007 by Seg (Talk | contribs) (Example)

Jump to: navigation, search
The #findID system variable contains the id of the object at the current #findIndex position. All of the find* variables are populated by using the findItem command.

Example

finditem POF C_ , #BACKPACKID
if #FINDCNT > 0
{
 msg #FINDID is the ID of the gold in my bag. There is #FINDSTACK gold in that stack.$
}
halt

See also

Main Page Documentation