x


NGUI question about the Inventory, extracting item stats

im fairly new to programming, and would like to use he inventory in this package but since arenmook wont provide support to the inventory i hope i can get some help from all you awesome folks out here, my problem is that i cant seem to extract the equipped items stats and add them to my character sheet. fx my base armor is 100, i equip a ring with 5 armor, and now i want my armor to show 105, i have a script set up to show the armor and everything, i am just stuck on to WHERE do i extract the item stats for what is equipped? im a newbie to programming so bear with me :) thanks alot in advance fellas!

more ▼

asked Jul 14 '12 at 11:46 PM

Zastrow89 gravatar image

Zastrow89
6 1 6 8

InvGameItem.CalculateStats() is what i have gotten so far, but i have no idea how to extract anything from it, seems like i cant convert it to string or int :/

Jul 15 '12 at 10:39 AM Zastrow89
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x223
x204
x114
x64

asked: Jul 14 '12 at 11:46 PM

Seen: 388 times

Last Updated: Jul 15 '12 at 10:39 AM