Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Miscellaneous => Topic started by: Krang Stonehoof on August 15, 2015, 01:28:29 pm
-
Greetings,
I have a few questions since I couldn't find anything related here or somewhere else and maybe someone is able to help:
- Is it possible to make an object usable only by the creator? I mean, if a player spawn a door via an Item, is it possible to make the door openable only by that player?
- Is it possible to make creatures unselectable but to be still able to hover them with the cursor and see their level / details? (I think there are a lot of these creatures in Mists of Pandaria / Warlords). If yes, how?
- Is it possible to make the bank system in-game to work on different NPCs? For example, the actual bank system is working like this: If you go in Stormwind and deposit something, you can see your PLAYER bank and your deposit everywhere. But I was wondering if it would be able to make something like this individual for every creature. I mean, if I deposit something in Stormwind, when I go to Ironforge I'm seeing another bank.
Thanks.
-
See the usage of the DK portal to acherus.
Its only usable by the DK that spawned it I think .. or by DK.
Also you can make the code work only if the user is the owner of the object.
See GetOwner and similar functions.
dont know about the select thing ,.
You CAN code your own banking system. But that would require changing how the items are stored etc.
However atm the items are saved to the player inventory. Player has special slots in his inventory coded to fit the bank items so banking is actually a part of the normal character inventory slots - this is what you need changed.