Simple Instance Zone Script
This is not intended as an uber custom script, it's just for "noobs" who are learning
and this is something simple they can start with to create an instance of any zone. I am using this on my own server for some customization I am doing and thought I would share it with people who could use the help getting started with some basic instancing. Many people have a lot more advanced perl knowledge on this site, than I do, but I am not interested (yet), in poking around with learning lua, lol. Someday maybe. In this sample, it sends the player to an instance version of Forgotten Halls, but it could be used on any zone. Where you see the expression "fhalls", that is just the phrase I chose to use. It could be anything you want, as long as it is in place where you see it (in red). Everything you see in red is what you would need to edit to your own preferences for the zone you are using. (plus the "say" text, level, etc.) In this example, the player needs to be level 14 to get the instance from the NPC that you put this script on. The MovePCInstance "998" is the zone ID number, then the x,y,z coords. Where you see "14400", that is the timer (in seconds) for the instance to expire. Just put something like this on an NPC script (whatever_name.pl) and if you're testing in-game type #reloadquest everytime you edit a quest script. For anyone who hasn't visited the perl reference wiki yet, tons of help on there. http://wiki.eqemulator.org/p?Ultimat...rence&frm=Main Code:
|
:cool:
/10char |
Is there a way to scale this instance?
|
Does this automatically close after a set period of time?
|
What happens when the player is level 14?
|
|
All times are GMT -4. The time now is 03:02 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.