Help in map settings

Play Now

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
Just wondering if some could tell me how i make it so when a player steps on certain co-ords it sends them a message saying Level 300 to enter to what ever ?

Cheers :)
 

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
Can some one help me here please?

-Will check post later of to the pub! :P
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
125
Hmm i found this in TD Npc commans..

CHECKPOS mapname x y

It says it check that map and coords. Maybe add map name & Coords & CheckLevelEx In QFunc.txt And it may work.

Somet like...

#IF
CHECKPOS 0 300 300
Checklevelex > 299
#ACT
Goto @Move
#ELSESAY
You are not the right level for this place.

[@Move]
#IF
#ACT
MapMove 1 200 300
SENDMSG 6 "Your are now at <Map Name>"

Im not 100% sure if that will work but see what other people say :)

Some people might find it usefull for other stuff like SW if you walk in and takes fw off you:) I wouldnt mind seeing the script made.
 
Upvote 0

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
Mmmm.. So if this went in Qfunction what would be the command for it to pick up on, normaly its like [@level] or what ever... ?

So command for this would be ?

Can any one else shed some light on this please

Thanks
 
Upvote 0

Weikster

LOMCN Veteran
Veteran
Jan 21, 2009
421
11
44
36th chamber
Look how its setup in Mapquest for stuff like the OKR quest, RME quest, etc, etc.
If you're using TD's files they are in there, you just have to look around and see how stuff is done. Then just add in what you need.

Example for FLD_FLAG in TBL_MAPINFO; (for the restricted map)
Code:
CHECKQUEST(Q1500) NEEDSET_ON(600) NORECALL
Use flags for this else the script will just let you in. Flag being the (600), you can use whatever you like. (up to 1200??)

Q1500.txt inside M2Server/Envir/Mapquest_Def folder.
Code:
[@main]
#IF
CHECK [600] 1 
#ACT
break

#IF
CHECKLEVEL 50
#ACT
SET  [600] 1
break
#ELSESAY
(You need to be level 50+ to enter here....)

F it, did it for ya lol :biggrin:
You don't want to have alot in QFunction, it will eventually start messing up and throwing error fits.
It's best to use other ways like above or using Robot functions to do as much as possible.
 
Last edited:
Upvote 0