Hi, I'm currently running through some ideas and I just want to see if I am thinking correctly on this:
I am attempting to create an NPC that creates instances for whoever talks to it (after performing level checks and asking if they want to SOLO or PARTY run) and so far I cannot figure out how to allow a single script to control multiple instances. Is this natively possible with Hercules? For example, the player character talks to the NPC, the NPC after some dialogue options will create the dungeon instance and send the player or party to the instance, however, I also want other characters on the server to be able to make instances simultaneously with that same NPC script.
So the NPC can handle the player/party who created instance already, in addition to anyone else who wants to create their own instances at the same time. Multiple instances managed by one script, potentially using the same emulated map or instance map. I do not refer to a player being able to join an instance in progress. So far most of the code I have seen works around limiting instance creation to one every 4 hours or some other hard limit, but I wish not to do that. Let me reiterate that I would like for the script to create many, perhaps dozens of instances for whoever wants to create one at any given moment simultaneously and uniquely.
Ultimately my tests so far have brought me to only being able to create a single instance-- when another player comes and tries to create an instance, it fails because presumably there is already an instance created. I just want to know if it is possible given Hercules scripting engine to handle this, and if it is possible, what kind of method would I use?
Thanks for any input. I hope I am clear, if not please allow me to make clearer examples.
Hi, I'm currently running through some ideas and I just want to see if I am thinking correctly on this:
I am attempting to create an NPC that creates instances for whoever talks to it (after performing level checks and asking if they want to SOLO or PARTY run) and so far I cannot figure out how to allow a single script to control multiple instances. Is this natively possible with Hercules? For example, the player character talks to the NPC, the NPC after some dialogue options will create the dungeon instance and send the player or party to the instance, however, I also want other characters on the server to be able to make instances simultaneously with that same NPC script.
So the NPC can handle the player/party who created instance already, in addition to anyone else who wants to create their own instances at the same time. Multiple instances managed by one script, potentially using the same emulated map or instance map. I do not refer to a player being able to join an instance in progress. So far most of the code I have seen works around limiting instance creation to one every 4 hours or some other hard limit, but I wish not to do that. Let me reiterate that I would like for the script to create many, perhaps dozens of instances for whoever wants to create one at any given moment simultaneously and uniquely.
Ultimately my tests so far have brought me to only being able to create a single instance-- when another player comes and tries to create an instance, it fails because presumably there is already an instance created. I just want to know if it is possible given Hercules scripting engine to handle this, and if it is possible, what kind of method would I use?
Thanks for any input. I hope I am clear, if not please allow me to make clearer examples.
Share this post
Link to post
Share on other sites