Greetings,
I'm trying to add a script that only works in Hyjal. The problem being is Hyjal shares its map and zone IDs with other places including Ashenvale. Is there any sort of command along the lines of GetArea? I've scoured the official Arcemu Lua Command listing with no results and I know this is a long shot. Any input helps. Thanks!
[Help]Command for GetArea?
Started by Talrain, Feb 24 2012 08:37 PM
4 replies to this topic
#1
Posted 24 February 2012 - 08:37 PM
#3
Posted 25 February 2012 - 01:10 AM
Hyjal does not contain area info in WOTLK.
Look down, look down, you'll always be a slave..
Look down, look down, you're standing in your grave...
Look down, look down, you're standing in your grave...
#4
Posted 25 February 2012 - 01:48 AM
Use :GetZoneId(), cause as Thetruecrow said, Hyjal does not contain areas in Wrath of the Lich King. Another way, would be to make an invisible npc (You can use .mod flags 33554432 to make the mob unselectable and use display id 11686), spawn it in the middle of that area, and when you wanted to check for GetAreaId(), check for that NPC and use :GetDistanceYards().
Also, another way would be to check for coordinates, but it's harder.
Also, another way would be to check for coordinates, but it's harder.
Similar Topics
![]() |
Command And Conquer: Generals 2Started by Ave Jettom, 13 Dec 2011 |
|
|
|
![]() |
[Release] Diverse custom command systemStarted by DragonDev, 10 Sep 2010 |
|
|
|
![]() |
[Release]Custom command system.Started by BlueBee808, 18 Aug 2010 |
|
|
|
![]() |
[Help/Lookover] Cooldown on command.Started by Sillocan, 06 Aug 2010 |
|
|
|
![]() |
[Help] Train CommandStarted by larsio, 27 Jul 2010 |
|
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users














