Maceblade
05-08-2013, 06:49 PM
I want to setup a zone where clients levels are checked by a "guardian" type mob outside each of the room's where the events are taken place. Similar to Vox's banish but I don't want the event initiated before banish takes effect.
Anyone able to give me the code please?
nenelan
05-08-2013, 07:24 PM
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.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.