[DM2] Idea...

Desolation Mir2 (Med Rate Server)

ImapsI

Dedicated Member
Dedicated Member
Mar 10, 2004
148
0
42
Is it possible to make it so that when you go through a door to say another Provence, can you make it so that one day it takes you to that Provence then the next day it takes you to a dif one or something, without using an npc.
 

Dave85

LOMCN Veteran
Veteran
Jan 20, 2006
267
2
45
I think instead of using the MoveMapEvent in the database something like this would use Qfunction.txt

Try this:
=====================================
[@main]
#IF
CHECKINMAPRANGE 0 100 100
#ACT
GOTO @move

[@move]
DAYOFWEEK MON
#ACT
MAPMOVE 1 100 100
#ELSEACT
MAPMOVE 2 100 100
close
=====================================

in the main part, this will check the player is in range of the specified maps cords then it will do a check, if it is monday you will goto map 1 other wise for the rest of the week you'd goto map 2.

This is to have a alternating map for each day:
=====================================
[@main]
#IF
CHECKINMAPRANGE 0 100 100
#ACT
GOTO @move

[@move]
#IF
DAYOFWEEK MON
#ACT
MAPMOVE 1 100 100
#ELSEACT
GOTO @move1

[@move1]
#IF
DAYOFWEEK TUE
#ACT
MAPMOVE 2 100 100
#ELSEACT
GOTO @move2

[@move2]
#IF
DAYOFWEEK WED
#ACT
MAPMOVE 3 100 100
#ELSEACT
GOTO @move3

[@move3]
#IF
DAYOFWEEK THU
#ACT
MAPMOVE 4 100 100
#ELSEACT
GOTO @move4

[@move4]
#IF
DAYOFWEEK FRI
#ACT
MAPMOVE 5 100 100
#ELSEACT
GOTO @move5

[@move5]
#IF
DAYOFWEEK SAT
#ACT
MAPMOVE 6 100 100
#ELSEACT
GOTO @move6

[@move6]
#IF
DAYOFWEEK SUN
#ACT
MAPMOVE 7 100 100
#ELSEACT
GOTO @move
=====================================
 
Upvote 0