[Question] Level Exclusive Zones menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Talrain's Avatar Member
    Reputation
    2
    Join Date
    Oct 2008
    Posts
    75
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] Level Exclusive Zones

    I know there is a way to make it so players are forced to unequip items when entering a zone (such a donation items can be force-unequipped when entered a major city or battleground). My question is, is it possible to have it so only players of a certain level can enter a specific zone? Example: If you enter Westfall while being above level 25, you are automatically ported out.

    [Question] Level Exclusive Zones
  2. #2
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Code:
    function zzz_OnZone(event, plr, zoneId)
        if zoneId == 530 or 530 or 530 then -- Needs to be changed to the zone id's of westfall
        plr:RemoveItem(1, 1) -- Item Id, amount
        end
    end
    
    RegisterServerHook(15, "zzz_OnZone")
    Something like this. Or you can make a RegisterTimedEvent do it and unequip the weapon if there is a command in Lua for it.

  3. #3
    Talrain's Avatar Member
    Reputation
    2
    Join Date
    Oct 2008
    Posts
    75
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the input. That will actually be helpful to me later on. I think you may have skimmed through my post haha I was asking if there is a way to port out a player of a certain from a zone.
    Say, if any player above level 25 enters Westfall, they are ported out of the zone. Is there a way to do that?

    Repped you and thanks in advance

  4. #4
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Talrain View Post
    Thanks for the input. That will actually be helpful to me later on. I think you may have skimmed through my post haha I was asking if there is a way to port out a player of a certain from a zone.
    Say, if any player above level 25 enters Westfall, they are ported out of the zone. Is there a way to do that?

    Repped you and thanks in advance

    Just add in the script:

    if player:GetLevel() < 25 then
    player:Teleport(map, x, y, z)
    end

    Or whatever the command for get level is.

  5. #5
    Talrain's Avatar Member
    Reputation
    2
    Join Date
    Oct 2008
    Posts
    75
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just checked back again thanks. Appreciated.

Similar Threads

  1. Simple Leveling guide (zones) and great Spec's
    By Deathed One in forum World of Warcraft Guides
    Replies: 21
    Last Post: 03-30-2008, 05:09 AM
  2. General Spec Question - Leveling Warr.
    By Shinyshoes in forum World of Warcraft General
    Replies: 4
    Last Post: 02-29-2008, 08:36 PM
  3. Question: Level 40 Druid feral gear?
    By elwhisky in forum WoW Items & Quests
    Replies: 5
    Last Post: 08-13-2007, 01:36 AM
  4. Question: Level 40 Druid feral gear?
    By elwhisky in forum WoW Items & Quests
    Replies: 0
    Last Post: 06-12-2007, 09:01 AM
  5. 1-300 Enchanting Leveling *exclusive, detailed*
    By Squirllz in forum World of Warcraft Guides
    Replies: 5
    Last Post: 04-18-2007, 07:57 PM
All times are GMT -5. The time now is 01:59 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