Jump to content
  • 0
Abeiy

Instance NPC

Question

I need to have 2 instances in 1 npc that lets you choose between normal and hard mode if someone gives a tip please

 

😞

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

 

what do you mean by having a normal and a hard mode instance? are we talking about 2 different instances with different monsters/story/etc..?

if that's the case then it's fairly simple,  you want you can look at Old Glast Heim's entrance npc for example: 
 

[email protected] = select("Normal Mode:Hard Mode");
	if([email protected] == 1) {
		// enter intsance #1
		
	} else if([email protected] == 2) { // Hard Mode
		//enter instance #2
	}

but if you have only 1 instance and want to make a hard mode from that instance well then it depends.

if we're talking about a single instance you can just store the difficulty in an instance variable and edit the monster spawns and summon a harder version of the monsters in hard mode, for example:

if('OGH_Mode < 2) // Normal Mode
		monster 'map_name$[1],158,255,"Amdarais",2476,1,instance_npcname("#ghmemorialmob07") + "::OnMyMobDead";// MG_AMDARAIS
	else if('OGH_Mode == 2) // Hard Mode
		monster 'map_name$[1],158,255,"Amdarais",3150,1,instance_npcname("#ghmemorialmob07") + "::OnMyMobDead";// MG_AMDARAIS

but yeah it really depends on what the difference between normal and hard mode is.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.