Hello,
I'm currently looking for an elegant solution to the following problem:
Take any NPC on the server. You want to "upgrade" that NPC by giving him a special dialog during a quest, but retain all his other functionality.
At the moment we duplicate the NPC's source script into our custom folder and make all changes there, then disable the original one and load ours.
I was wondering, is it possible to make a new NPC, and invoke the code from another NPC?
I know you have doevent etc, but that only invokes a specific label, I want to be able for example to invoke the complete logic from the refine NPC in a if-else statement based on whether the user is on the quest or not.