Set up an invisible mob. Set a proximity on spawn. On enter, check the client's level. If too high, move person/do whatever you want.
I find I learn more if people point me in a direction I need to go, then muddling through it myself.
You want sub EVENT_ENTER and quest::set_proximity(minx, maxx, miny, maxy , minz=0, maxz=0). Shouldn't be too bad, but if you find yourself head-desking a few times, give another post.
|