Thread
:
Instance Manager
View Single Post
#
50
06-17-2012, 12:04 PM
cbk1994
the fake one
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
I'm honestly not sure how much easier I can make this. More verbose perhaps?
As the OP says, give the NPC-server proper rights to the folder where you'll store your levels and the folder where your template levels are stored.
Upload the scripts in the archive attached to the OP, making these changes to the script InstanceManager before hitting "apply":
Change the temp path
Change the unstick path
Note: Since it is a
SCRIPT
, the code for the InstanceManager goes into the NPC's
SCRIPT
.
Create your instance class (e.g. "quest_instance") from the code in the OP, adjusting it for your situation.
Add your instance type to the script of the InstanceManager, using the commented-out easter map instance type as an example (as stated in OP).
Copy the code in the OP for creating a new instance, adapt it into your code. For example, a door that warps players to a new quest instance:
Congratulations, you're now using instances.
__________________
cbk1994
View Public Profile
View GraalOnline Profile
Visit cbk1994's homepage!
Find all posts by cbk1994