Jump to content

Question

Posted

1st: How do I make it so an NPC is activated every other day and activated 3 times for each day its activated?

2nd: How do I make it so all buffs are taken off on a map?(Player is warped to the map and debuffed)

3rd: How do I make it so no matter what a players stats or cards are, they can still be effected to status effects on a map caused by a script?

Please and thank you :3 If you would like to know exactly what I need this all for, its for my fishing script~

7 answers to this question

Recommended Posts

Posted

1st:

OnClock0000:
OnClock0300:
OnClock0600:
etc....

2nd:

yes..it is true that sc_end all are not suggested...it might removed your jailed status, cash food status , mute status, etc...

use a loop to loop through every buff and check if it is a jail / mute /cash food status ...if yes the skip those status..while remove the rest...

3rd:

list all the card that can prevent the status change in the db/item_noequip.txt

then all this card will be unable to use in the map after the mapflag is applied.

Posted

Thanks emistry but..How do I make it 1st every other day? I want it to be like...

Monday, Wednesday, Friday are the only days the event is activated

there is alot way to do so....

here is 1 of the way.

On<weekday><hou<minute>:

This will execute when the server clock hits the specified date or time. Hours 
and minutes are given in military time. ('0105' will mean 01:05 AM). Weekdays 
are Sun,Mon,Tue,Wed,Thu,Fri,Sat. Months are 01 to 12, days are 01 to 31. 
Remember the zero. 

beside..you can also use this way..check for what day it is then only check for time to run event..

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