Log in

View Full Version : Using Quests as Zone Transitions


Charles082986
12-09-2015, 01:45 PM
What would be the easiest way to change zone transition points? Like if I wanted people to zone from Misty Thicket to Warrens instead of Runnyeye Citadel?

I know I could stick an NPC there, but then Rangers could track it.
Is it possible to determine a proximity without an NPC to center the proximity around?

N0ctrnl
12-09-2015, 02:19 PM
Just make an invisible NPC and give it a script that'll move you when you enter a certain range.

This is my modified version of "zoner" from Plane of Sky.


sub EVENT_SPAWN {
quest::set_proximity($x - 40, $x + 40, $y - 40, $y + 40,$z - 20, $z + 20);
}

sub EVENT_ENTER {
quest::movepc(10,-1570,-25,20,231);
}

Charles082986
12-09-2015, 02:39 PM
Wouldn't a ranger be able to track "zoner" then, and find the exit?

Uleat
12-09-2015, 04:18 PM
Well, if a ranger can track a hidden GM, then yes.


You just need to make sure that the zoner doesn't appear on the ranger's tracking list.

chrsschb
12-09-2015, 04:25 PM
Wouldn't a ranger be able to track "zoner" then, and find the exit?

There is a flag in npc_types to make it untrackable. There's also bodytype 11 which makes it untargetable.

Charles082986
12-09-2015, 05:01 PM
Awesome, thanks guys!