Jump to content
  • 0

help on spawning mobs in a instance


gave012

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  11/14/13
  • Last Seen:  

hi everyone. i just want to ask how to spawn mobs on a instance i followed the wiki and the instance is working but it cant spawn mobs why is that happening well here my script and hope someone can help me XD

my details on instance.db

4,Hades Labyrinth,5400,casp_fild01,173,40,casp_fild01,casp_fild02,casp_cave,casp_dun01,casp_dun02,haunt_e,1@haunt,haunt_h

and heres my script.

prontera,150,150,0	script	Instance	100,{

    .@mdName$ = "Hades Labyrinth";
    
    mes "[Guard]";
    mes "How can I help you?";
    switch(select("Create Instance:Enter Instance:Destroy Instance")) {
        
        next;
case 1:
	if (instance_create(.@mdName$) < 0) {
	mes "^0000ff" + .@mdName$ + "^000000 cannot be opened now.";
	close;
	}
	mes "[Guard]";
	mes "I will open up the tunnel to ^0000ff" + .@mdName$ + "^000000.";
	mes "I wish you good luck.";
	close;
 
case 2:
	if (instance_enter(.@mdName$)) {
	mes "[Guard]";
	mes "There has been a problem with entering the instance.";
	close;
}
end;  
case 3:
	instance_destroy();
	mes "[Guard]";
	mes "The instance has been destroyed.";
	close;
    }
	end;

OnInstanceInit:
	enablenpc instance_npcname(strnpcinfo(0));
	end;
	monster instance_mapname("casp_fild01"),0,0,"Poring",1002,100,instance_npcname(strnpcinfo(0))+"::OnMyMobDead";
	end;

	
	OnMyMobDead:
		dispbottom "Fuck You!! You Killed My lovely PORINGS!!";
		end;

}

i hope that someone can help me with this getting frustrated.

thats only a test instance so that ideas can follow trough but i am stocked with spawning mobs.


bump.. someone help please..


bump any help please? thanks in advance..

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...