| 07-27-2006, 12:35 PM | #1 |
Firstly, InvX is amazing! but I can't seem to find a function which will allow me to show a specific inventory page, in this case the first. Its probably me whos missed it or simply not understodd how to use it - any help would be very much appreciated. Thanks, Skli |
| 07-27-2006, 12:56 PM | #2 |
You want to change page in.game? I don't think I added that function so someone should make it |
| 07-27-2006, 01:16 PM | #3 |
Thankyou, any idea how I'd go about making it? ![]() |
| 07-27-2006, 01:18 PM | #4 |
You can abuse a function it has, it is InvX_Goto , it takes weird arguments though, if I remember correctly one of the arguments should be the current page, the other argument is the page you want so it should be 0 I think, as far as I know first page is 0 in invX it probably takes a gamecache argument jast pass InvX() to it |
| 07-27-2006, 02:29 PM | #5 |
I can't seem to find such a function :( . Maybe there's an alternative way to do what I'm attempting. I have a hero whos given 4 items, but upon receiving them he automatically loads the second page, but I'd prefer if the first page was shown, which is why I'm attempting to find a way to load it - its not life and death, but thankyou for helping and most importantly THANKYOU FOR InvX! which is AMAZING. |
| 07-27-2006, 02:48 PM | #6 |
You could order the hero to use the "previous page" item |
| 07-27-2006, 03:20 PM | #7 |
Thankyou! The simplest solution is always the best |
| 07-27-2006, 07:56 PM | #8 |
Your gonna hate me soon :D . Currently I've got all items set up and all "simple" bonuses, classes and sets dealt with. Problem is that need to add an ability to unit upon receiving an item - each weapon has a custom ability. I'd prefer to add this as a hero ability - there is room - instead of a spellbook ability. Again, I'm stumped. Read all your functions, and either it doesn;t exist or I've missed it . HELP!Thanks, Skli |
| 07-27-2006, 09:38 PM | #9 |
Adding as a hero ability is not even possible in wc3. You can use engineering upgrade to replace a hero skill. Then you can make an item add an engineering upgrade based ability |
| 07-28-2006, 08:41 AM | #10 |
anyway to add it as a unit ability then - but not in the spell book? Thanks, Skli |
| 07-28-2006, 12:44 PM | #11 |
Yes, there is a way to add it as ability. Check the examples that deal with mana regeneration. |
| 07-28-2006, 07:04 PM | #12 |
Ty - can't give you more rep, but if I could - I would |
