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:
![]()
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:
![]()
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.
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.
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.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")
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?
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++.