Proximity level checker
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? |
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. |
All times are GMT -4. The time now is 06:30 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.