|
Post by quixsilver on Mar 23, 2009 22:31:02 GMT
I'm looping through each slot, storing/echoing the string returned by GetRawQuickBarSlot in a local var, and then later looping back through and trying to restore the quickslots using SetRawQuickBarSlot and passing in the local var that was previously stored. Log file shows -1 returned for all calls to SetRawQuickBarSlot.
I guessing that the strings that should be passed into SetRawQuickBarSlot don't match exactly the format of the strings coming out of GetRawQuickBarSlot but I can't find any solid information on how these strings should be formatted.
Any ideas?
Thanks in advance!
|
|
|
Post by Acaos on Mar 24, 2009 3:43:07 GMT
That function is really fiddly; in addition, it only works for spells right now. I'll have to look over it when I get a chance (HG is moving servers this week, so it might be a while).
Acaos
|
|
|
Post by quixsilver on Mar 25, 2009 0:14:20 GMT
Ok, thanks! Only works for spells eh... does that include custom feats that link to spells? Please say yes...
|
|
|
Post by Acaos on Mar 25, 2009 2:20:57 GMT
You'll have to try it to find out - I'm not sure. It's on the list to enhance (though it will probably never work for items).
Acaos
|
|
|
Post by quixsilver on Mar 25, 2009 2:39:25 GMT
Can you confirm that the format of the string passed into SetRawQuickBarSlot should be the same string returned by GetRawQuickBarSlot?
If so then I believe I know the answer to my previous question... Will confirm shortly.
|
|
|
Post by quixsilver on Mar 25, 2009 2:48:41 GMT
Yeah, I have it working for spells... nothing else seems to work though.
The unfortunate part for me is that I'm not really using spells at all, in fact I have disabled spellcasting for all but cleric base class. All of my stuff is done through feats that are linked to spells.2da entries.
I know you're busy... so whenever you get a chance.
Thanks!
|
|