Jump to content
  • 0

Question

8 answers to this question

Recommended Posts

Posted

Untested

prontera,154,187,4	script	spawn	999,{
	
	getmapxy .@map$,.@x,.@y,1;
	if(!mobcount(.@map$,strnpcinfo(0)+"::OnMyMobDead")){
		mes "Monster spawned.";
		monster .@map$,.@x,.@y,"Poring",1002,1,strnpcinfo(0)+"::OnMyMobDead";
		pvpon;
	}else
	mes "The Monster still alive.";
	close;
end;
OnMyMobDead:
	pvpoff;
}
Posted

 

Untested

prontera,154,187,4	script	spawn	999,{
	
	getmapxy .@map$,.@x,.@y,1;
	if(!mobcount(.@map$,strnpcinfo(0)+"::OnMyMobDead")){
		mes "Monster spawned.";
		monster .@map$,.@x,.@y,"Poring",1002,1,strnpcinfo(0)+"::OnMyMobDead";
		pvpon;
	}else
	mes "The Monster still alive.";
	close;
end;
OnMyMobDead:
	pvpoff;
}

So i need to make this script to all MVP map?

Posted

If your talking about a naturally spawning mvp tutn the map to pvpon with onint bevause spqwn reset when map server resets then add death event to the mvp or choice. Turn pvpoff with that label.when he dies also set a timer for the spawn to turn pvp back on.

Sent from phone sorry for grammar.

Posted

If your talking about a naturally spawning mvp tutn the map to pvpon with onint bevause spqwn reset when map server resets then add death event to the mvp or choice. Turn pvpoff with that label.when he dies also set a timer for the spawn to turn pvp back on.

Sent from phone sorry for grammar.

 

This assumes that all his MvPs have a fix respawn time.

OnTopic: There is no label for "OnMVPSpawn" I guess, so you would need to remove the variable spawn times and make everything fix and then set up a timer like Skorm said.

Posted

 

If your talking about a naturally spawning mvp tutn the map to pvpon with onint bevause spqwn reset when map server resets then add death event to the mvp or choice. Turn pvpoff with that label.when he dies also set a timer for the spawn to turn pvp back on.

Sent from phone sorry for grammar.

 

This assumes that all his MvPs have a fix respawn time.

OnTopic: There is no label for "OnMVPSpawn" I guess, so you would need to remove the variable spawn times and make everything fix and then set up a timer like Skorm said.

 

 

No it doesn't, I said if the NPC he is using for the "Event" is fixed... Lmao

 

I didn't assume anything. I gave a parameter to my answer.

Posted (edited)

I mean, while MVP in map, this script will change that map to PK On. Else, PK Off.

i dunno how to make script to check where MVP still alive :(

Edited by dungpt8782

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...