My current XML setup is below.
<?xml version="1.0" encoding="utf-8"?> <Items> <Object> <Index>10</Index> <Damage>4650</Damage> </Object> <Object> <Index>8</Index> <Damage>2940</Damage> </Object> <SecondObject> <Index>10</Index> <HP>0</HP> <Name>Some Dude</Name> </SecondObject> </Items>
So I'd like to be able to call for a "Object" of a certain index then use those details (both the index and the damage) to make an item.
I've tried a few different things but I wasn't able to get anything to work right. Any ideas?