Hey guys,
I want to create a Npc which teleports you into a dungeon. The option you have to complete to complete the quest is similar to the QUEST_GUILD quest. Means you need to create a party with like 5 or more members. But the problem is the party teleport. I dont know how to teleport all members into one dungeon. This is just for the one which completes the quest:
propQuest.inc
Code:
SetEndRewardTeleport( 203, 1394, 150, 544)
Maybe there is an option for teleporting the whole party.
Would be nice if someone knows how I could do that. Maybe you can help me via teamviewer or skype.
Edit:
Here is the partyteleport Quests on the altars with the dreadpets. I cant find an option for the party teleport. Heres the code:
NpcScript.cpp
Code:
//Script Information----------------------------------------------------------------//
// Script Modify Version: 1.0( Create )
// Author : Jimmie
// Title : Dradpet Manager
// File : MaFl_Himadel.txt
// Save Type : ANSI
// Country Code : KR
//----------------------------------------------------------------------------------//
//Script Begin
void CNpcScript::mafl_himadel_0()
{
Speak( NpcId(), 505 );
SetScriptTimer( 15 );
}
void CNpcScript::mafl_himadel_1()
{
if( GetPlayerLvl() >= 20 )
{
if( IsWormonServer() == TRUE )
{
if( IsSetQuest( QUEST_DREADBIG ) == TRUE && GetQuestState( QUEST_DREADBIG ) == QS_END )
{
if( IsParty() == TRUE )
{
if( MonHuntStartParty( QUEST_BOSS_LV1, QS_BEGIN, QS_END, 1 ) == FALSE )
{
Say( 506 );
AddKey( 10 );
}
else if( MonHuntStartParty( QUEST_BOSS_LV1, QS_BEGIN, QS_END, 1 ) == TRUE )
{
}
else
{
Say( 507 );
AddKey( 10 );
}
}
else
{
Say( 508 );
AddKey( 10 );
}
}
else
{
Say( 509);
Say( 510 );
AddKey( 10 );
}
}
else
{
PrintSystemMessage( TID_GAME_NOTPLAYSERVER );
Exit();
}
}
else
{
Say( 511 );
AddKey( 10 );
}
}
void CNpcScript::mafl_himadel_2()
{
AddKey( 9 );
AddKey( 10 );
}
void CNpcScript::mafl_himadel_3()
{
}
void CNpcScript::mafl_himadel_4()
{
}
void CNpcScript::mafl_himadel_5()
{
}
void CNpcScript::mafl_himadel_6()
{
}
void CNpcScript::mafl_himadel_8()
{
}
void CNpcScript::mafl_himadel_9()
{
Say( 526 );
}
void CNpcScript::mafl_himadel_10()
{
Speak( NpcId(), 513 );
Exit();
}
//Script End
NpcScriptHelper.cpp
// if( MonHuntStartParty( QUEST_BOSS_LV1, QS_BEGIN, QS_END, 1 ) == TRUE )
int CNpcScript::MonHuntStartParty(int nQuest, int nState, int nState2, int n )
{
Functions* pTable = m_pInfo->GetFunctions();
return pTable->MonHuntStartParty( m_pInfo, nQuest, nState, nState2, n );
}
Thanks and greetz
~Offi