Quote:
Originally Posted by cbk1994
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.