Headaches - The Construction Set
Posted: Sun Aug 06, 2006 12:10 am
Dear lord, I want to do what seemed a simple thing....I want a merchant in the Balmora chapter of the Mage's Guild who could sell extreme enchanting items. Now I have hit a wall.....how in the hell do you add to their inventory? I have been sitting here for 2 hours trying to highlight one of those stupid little grid boxes in my object' inventory area, and so far I managed to highlight it twice, but I can't for the life of me do it without clicking madly and getting it by luck.
Is there some sort of trick that I am not seeing to highlightning these things?
Also, while I am on the subject of the the Construction Set, I am trying to fix up the Bank mod, so it no longer relies on a really laggy huge loop to remove a player's gold, but something is a little wrong.
Should this not remove a player's gold and add it all to the bank balance?
I figured on this being simple, since the functions, while badly laid out in format, are simple in execution, but their syntax is....odd at best, annoying at worst. Help anyone?
Edit: Got the silly message display working properly, but it still refuses to remove that inventory gold, or add it to the balance for some reason.
Is there some sort of trick that I am not seeing to highlightning these things?
Also, while I am on the subject of the the Construction Set, I am trying to fix up the Bank mod, so it no longer relies on a really laggy huge loop to remove a player's gold, but something is a little wrong.
Should this not remove a player's gold and add it all to the bank balance?
Of course, this seems to fail and leave behind a pesky 10000 gold value in my inventory....wierd. Considered adding some debug messages to ensure that I was removing the appropriate value(my gold) but it wants to display the "specal" message boxes that are a dialog choice sort of deal, not a straight up information one.
long YourGold
set YourGold to "Player"->GetItemCount Gold_001
set BankAccount to (BankAccount + YourGold)
Player->RemoveItem Gold_001 YourGold
I figured on this being simple, since the functions, while badly laid out in format, are simple in execution, but their syntax is....odd at best, annoying at worst. Help anyone?
Edit: Got the silly message display working properly, but it still refuses to remove that inventory gold, or add it to the balance for some reason.