Un/Lockable doors (GOs) menu

Shout-Out

User Tag List

Results 1 to 2 of 2
  1. #1
    cello1993's Avatar Member
    Reputation
    4
    Join Date
    Sep 2006
    Posts
    121
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Un/Lockable doors (GOs)

    Hey
    I was wondering how do I make a game object, to require a item like a key for a door to activate (in this case to open the door)
    How can I do that? Thanks :wave:

    Un/Lockable doors (GOs)
  2. #2
    tutfw's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    --change here = darfst du ändern--
    local Tokenid = 123658   ---<- Item ID you need to open the door
    ---On create select Typ "1" !
    local Goid = 654124 ----<-ID from the Door
    print "Vip Door loaded"
    --don't change anything below--
    
    function VIPTuerOnUse1(pUnit, Event)
    local Tokencount = pUnit:GetItemCount(Tokenid)
    if Tokencount >= 1 then
    pUnit:ActivateGameObject()
    print "Access granted"
    pUnit:RegisterEvent("CloseVipTuer1", 5000, 1)
    else
    print "Access Denied"
    end
    end
    
    function CloseVipTuer1(pUnit, Event)
    pUnit:ActivateGameObject()
    end
    RegisterGameObjectEvent(Goid, 2, "VIPTuerOnUse1")
    it is not from me.

Similar Threads

  1. Replies: 1
    Last Post: 07-31-2011, 08:27 PM
  2. How to make a lockable gate or door ?
    By BloodOmenx3 in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 10-05-2009, 04:08 PM
  3. [Macro] Trick players to think your going a different way..
    By janzi9 in forum World of Warcraft Exploits
    Replies: 40
    Last Post: 08-14-2006, 03:46 PM
  4. Behind AQ-20 Door
    By drcar in forum World of Warcraft Exploits
    Replies: 0
    Last Post: 07-10-2006, 02:51 AM
  5. Dire Maul North Door Exploit
    By Matt in forum World of Warcraft Exploits
    Replies: 0
    Last Post: 04-10-2006, 09:20 PM
All times are GMT -5. The time now is 01:25 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search