View Single Post
  #59  
Old 01-13-2013, 07:16 AM
Draenin Draenin is offline
Magnificent Bastard
Draenin's Avatar
Join Date: Dec 2004
Location: Bermuda Triangle
Posts: 6,790
Draenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud of
Send a message via AIM to Draenin Send a message via MSN to Draenin Send a message via Yahoo to Draenin
Quote:
Originally Posted by cbk1994 View Post
My guess would be that the instance class isn't being joined to the object. Does it exist, and does it contain the right script? Do those functions work if you join it to some random NPC?
Well, I should explain what I've done so far:

1. Unzipped the files, copy-pasted the scripts in the zip file's 'class' folder to two classes. (instance_main, instance_level)
2. Copy-pasted the script in the zip file's 'npcs' folder to the InstanceManager NPC and added stuff from your first post.
3. Created a third class called instance_control from stuff in your first post.


Haven't attempted to post the first bit of code you posted that creates the instance, but when I copy-paste the code from the InstanceManager text in the zip file into the NPC, I get those errors. The other things seem to be fine.

Is this how it's supposed to be set up? I tried joining a level NPC to the code in each one of those three classes I made, but it still doesn't fix the problem which seems to be coming from the NPC instead.
Reply With Quote