Jump to content
  • 0

How to disable the script on an item on a specified time


Phaige

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  60
  • Reputation:   3
  • Joined:  01/28/12
  • Last Seen:  

Good day. Can someone help me show on how can I disable  mvp card items script during a specified time (let say from 15:00 -16:00) and only on all gvg maps.  After and before that time all mvp card item script effect is back to normal.

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

if you want to disable them in gvg maps

go configure your 
item_noequip.txt in your db folder

 

this is just a shortcut though but doing this will disable them in gvg maps any time of the day

Edited by icabit
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  60
  • Reputation:   3
  • Joined:  01/28/12
  • Last Seen:  

Its it possible I can use the script command:

0nClock1500:

setitemscript 4041,"";

will the changes on the item script permanent? so how can set it back to the defualt script?

Edited by Phaige
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  182
  • Reputation:   36
  • Joined:  01/26/12
  • Last Seen:  

The use of setitemscript will make the change temporary until server restart but it's server-wide, not only map-wide.

 

What you can do on them is just to make a new restricted zone and forbid it on your item_noequip.txt, then apply and unapply the mapflag with the new zone.

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