Jump to content
  • 0

Question

Posted

I want to ask how can i add an item restriction on a certain map and i already did read some of the topics here regarding the mapflag restriction and its just i cant do that like disable mvp cards on woe maps because what i want to do is a separate woe sessions that will disable mvp and certain items on that woe schedule its like vanilla woe no mvp/no donation items.

 

Thank you in advance!

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

You can do this on npc script,  check item id's every load on the map and warp them out. I don't know if it's the ideal way to do this. Let us wait for the veterans in scripting :)

Edited by maxine02
  • 0
Posted

You can do OnLoadMapEvent: With countitem on it. something like this havent tested it though

-	script	test	-1,{
OnPCLoadMapEvent:
		if(countitem(12345) > 0 || countitem(12346) > 0 || countitem(12347) > 0) 
		warp "SavePoint"0,0;
		end;


//------Enable map OnPCLoadMapEvent-------------------
map_01	mapflag	loadevent
		
		


 

  • Upvote 1
  • 0
Posted (edited)

I use the item_noequip.txt and mapflag restricted.

for example in item_noequip.txt

// Tao gunka card will not work on main town which is ''wicked''

4302,4096 // 4096 is zone 8

in my restricted mapflag

// Main Town
wicked    mapflag    restricted    8

 

Edited by Radian

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