Jump to content

Recommended Posts

Posted

Yeah it's possible to teleport, as long as the SSQ conditions are met of course.

 

class ssq_npc_teleporter_for_boss : default_npc {
parameter:
	int DawnPosX = 0;
	int DawnPosY = 0;
	int DawnPosZ = 0;
	int DuskPosX = 0;
	int DuskPosY = 0;
	int DuskPosZ = 0;
	
handler:
	EventHandler TALKED(talker) {
		ShowPage(talker, "spirit_gate001.htm");
	}

	EventHandler MENU_SELECTED(talker, ask, reply) {
		if (GetSSQStatus() != @SS_SEAL_EFFECT) {
			ShowPage(talker, "spirit_gate_q0506_01.htm");
		} else if (GetSSQWinner() == @TWILIGHT && GetSSQPart(talker) == @TWILIGHT && GetSSQSealOwner(@SEAL_AVARICE) == @TWILIGHT) {
			InstantTeleport(talker, DuskPosX, DuskPosY, DuskPosZ);
		} else if (GetSSQWinner() == @DAWN && GetSSQPart(talker) == @DAWN && GetSSQSealOwner(@SEAL_AVARICE) == @DAWN) {
			InstantTeleport(talker, DawnPosX, DawnPosY, DawnPosZ);
		} else {
			ShowPage(talker, "spirit_gate_q0506_01.htm");
		}
	}
}

 

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..