OK so I changed the script name to player.pl and it works. But it won't work as an NPC script. Super weird.
|
No, ENTERZONE has to be on a player.pl script. On an NPC, using a sub EVENT_ENTER is for coming within a proximity of an NPC.
|
Ahh ok, well then I need a check to see if the NPC is up, for the summon part. If the NPC isn't up then it doesn't need to move them. So a group of players can kill the guardian for the server for a while until he repops, but it will keep new players from zoning in just to loot corpses still. I'll check naggy's script cause I know it does a check for the NPC.
|
Something I doing on mine, with a customized zone, players have to be script ported in and they will have the option to
go instance or non-instance version. Some like to be alone, others don't, lol |
After I get the server migrated to the new machine I can do a lot more with it. That sounds cool.
|
This isn't the best, but it'll do what you want it to do I believe. When the player zones in the script checks if NPC ID # is spawned. If it is a timer for 30 seconds is set on the player. When the timer expires, the client is moved to the NPC's current co-ordinates.
Code:
sub EVENT_ENTERZONE { |
Why not just make the NPC spawn immune until that mob is killed? Have like a 30sec timer that checks if the NPC is dead it sets him attackable.
|
Quote:
summoned. I don't need it for FC's purpose, but it gives me other ideas. Thanks to you Kingly :) I am curious if something like this would be picked up as a "warp" in the db radar system. I'll check it out later. |
Seems to me the problem is that you give players #zone. Why not just give them #peqzone instead and disable it in any zone where it causes a problem?
|
Yeah it's more of a fun thing than preventing any kind of cheat. I just want them to kill that dragon first as sort of a right of passage.
|
That code looks simple and amazing. Thanks a ton.
|
All times are GMT -4. The time now is 12:19 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.