Advance Lua Request menu

Shout-Out

User Tag List

Results 1 to 5 of 5
  1. #1
    Confucius's Avatar Super Moderator Don't Look Back in Anger

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1418
    Join Date
    Oct 2007
    Posts
    2,810
    Thanks G/R
    302/311
    Trade Feedback
    7 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Advance Lua Request

    I need a Lua script so that when I create a player he will be bigger because the panda display ID is too small, for taurens only please. Stoneharry said it was possible :wave:+Rep:wave:

    Advance Lua Request
  2. #2
    ~Keric Vi Britannia~'s Avatar Member
    Reputation
    13
    Join Date
    Oct 2007
    Posts
    91
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This should be in the Requests section of MMOwned. Not Emulator Questions. Just noting. But I think it's possible to do such a thing like that. *I wouldn't know though. D:*
    Caeli Absolutio.
    Picking back up C++, learning Lua later.

  3. #3
    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)
    Wrong section,
    and you might be able to do it changing the dispalyid_scale section which I appear to have noticed in the DB recently, or if there is no such thing/doesn't work you need to make a gameobject/npc that on spawn checks if any near by players are small.

    Code:
    function on_spawn(pUnit, Event)
        pUnit:RegisterEvent("Checker", 2500, 0)
    end
    
    function Checker(pUnit, Event)
        local plr = pUnit:GetClosestPlayeR()
        if plr == nil then
        else
           if plr:GetRace() == ID_OF_TAuREN then
           else
           plr:SetScale(2)
           end
        end
    end
    
    
    RegisterUnitEvent(npcid, 18, "on_spawn")
    Of course it would be so much better in C++ but you can't compile and you are using a repack. Could register on enter world and such.

  4. #4
    Confucius's Avatar Super Moderator Don't Look Back in Anger

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1418
    Join Date
    Oct 2007
    Posts
    2,810
    Thanks G/R
    302/311
    Trade Feedback
    7 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    so with that script the 2500 would be how often the npc checks size, and then it would mod the scale? so I would just spawn on of those in all areas that players go?

  5. #5
    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)
    Well think about it, if you have 200 npc's all checking for nearby players every 2.5 seconds.. Thats going to be just a bit laggy. I don't even know if it will set the players scale properly, your best option is C++.

Similar Threads

  1. [Guide] How to Advanced Lua.
    By ZestyJ in forum WoW EMU Guides & Tutorials
    Replies: 6
    Last Post: 04-28-2009, 05:28 PM
  2. A Simple Lua Request
    By xpxd in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 04-09-2009, 02:45 AM
  3. [Service] Doing LUA requests
    By Babbaa in forum World of Warcraft Emulator Servers
    Replies: 153
    Last Post: 10-06-2008, 12:43 PM
  4. [RELEASE/CUSTOM INSTANCE] DEATHWING (Video+advanced LUA scipts+spawns)
    By Meltoor in forum World of Warcraft Emulator Servers
    Replies: 23
    Last Post: 02-09-2008, 06:46 AM
  5. More Advanced Lua?
    By Snailz in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 01-28-2008, 02:17 PM
All times are GMT -5. The time now is 06:19 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