Zone points into and out of Darklight
Posted: Thu Mar 12, 2009 1:00 pm
Not sure if this is the right place for this or not so sorry if I posted it in the wrong forum. I noticed on Tess that the zone points into and out of Darklight don't work, seeing as these are zone points where you just run into them to zone and not a clickable item like most others I am not sure if you plan to handle these a special way or not. On my server I used the zone scripts to achieve this. Hope they are useful to you guys if even just a temp solution.
Darklight.lua
Neriak.lua
Nektulos.lua
Commonlands.lua
I would recomend leaving the range at 10 for the Nektulos to Darklight, setting it to 20 can cause the player to trigger it from above or off to the side.
If these are useful let me know and I will work on the other zone points like this, but these should be the only ones in the classic world.
Darklight.lua
Code: Select all
function init_zone_script(zone)
SetLocationProximityFunction(zone, -691.31, -56.46, -87.97, 10, "ZoneNeriak")
SetLocationProximityFunction(zone, -62.44, -33.30, 356.88, 10, "ZoneCL")
SetLocationProximityFunction(zone, 731.24, -66.26, 93.42, 10, "ZoneNek")
end
function ZoneNeriak(zone, spawn)
Zone(GetZone(184), spawn, 9.65, 17.21, -68.72, 184)
end
function ZoneCL(zone, spawn)
Zone(GetZone(33), spawn, 191.72, -45.65, -858.52, 178.64)
end
function ZoneNek(zone, spawn)
Zone(GetZone(179), spawn, -1345.74, 15.83, -1409.49, 151.77)
end
Code: Select all
function init_zone_script(zone)
SetLocationProximityFunction(zone, 3.82, 17.36, -93.08, 10, "ZoneDarklight")
end
function ZoneDarklight(zone, spawn)
Zone(GetZone(34), spawn, -653.95, -57.32, -86.53, 262.55)
end
Code: Select all
function init_zone_script(zone)
SetLocationProximityFunction(zone, -1343.12, 15.88, -1431.21, 10, "ZoneDarklight")
end
function ZoneDarklight(zone, spawn)
Zone(GetZone(34), spawn, 709.68, -66.36, 85.34, 91.67)
end
Code: Select all
function init_zone_script(zone)
SetLocationProximityFunction(zone, 188.53, -47.38, -888.40, 10, "ZoneDarklight")
end
function ZoneDarklight(zone, spawn)
Zone(GetZone(34), spawn, -74.06, -34.43, 335.46, 357.72)
end
If these are useful let me know and I will work on the other zone points like this, but these should be the only ones in the classic world.