This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTIONS] - A few questions I have.  (Read 680 times)

Krang Stonehoof

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 164
    • View Profile
[QUESTIONS] - A few questions I have.
« 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Rochet2

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 59
    • View Profile
    • http://rochet2.github.io/
Re: [QUESTIONS] - A few questions I have.
« Reply #1 on: August 15, 2015, 01:49:12 pm »
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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »