» Sat Nov 17, 2012 11:33 am
Thanks guys, I really appreciate the help. There’s one thing that has me confused however. (Well, more than one, but I digress…)
Anyway, I have a basic understanding of this whole alias system in that NPC’s can be manipulated and / or can take on special roles while in an alias, and afterwards resume their normal behavior etc. So far, I have 28 new and unique NPC’s in my quest. Depending on player choice, a couple of them will not be enabled though. I needed unique NPC’s for various reasons, mostly relating to race and my story. All of them are on Aliases, and set to initially disabled, and enabled with Alias_MyNPC01.GetReference().Enable() at their appropriate times and so on.
Currently, all of their packages are placed in their regular NPC utility (like we always used to do before aliases), and everything in their Alias is blank. I have NO packages in their dialog utility. So far, I’ve been able to control the validity of their packages by quest stages in my main quest. Everything is working just fine like this, as frankly, they don’t need to be doing certain things until certain stages are set, so it’s worked out fine so far.
But I’m wondering if I’m doing it all wrong, and should have their packages in their Alias as opposed to just directly stacked in the Actor utility. What are the advantages or disadvantages of one way or the other?
For example, for the follow package we’re discussing I figured out last night a very simple way to do this without any complex scripting. I’m almost 100% certain it will work, and I got most of it plugged in before I got so tired I needed to go to bed, lol. I’ll finish it up tonight and test it. But all I did was set a dialog with my Captain that set the startup stage for my radiant quest. I set a dialog for the guard I need to take with me to only be valid in this stage of the radiant quest to “Come with me”. That sets the next stage in my radiant quest. I have a Follow package on my NPC that is ONLY valid for the next 3 stages of this radiant quest (> 10 and <= 40) so when he said he’ll come along, his follow package becomes valid, and since it’s at the top of his stack, he should follow along. (This is when I had to go to bed, lol)
So then, after the mission I’ll return to the Captain for debriefing, and tell my NPC to resume his regular duties, that completes the radiant quest, invalidated his follow package and since none of his other packages have conditions on them that have anything to do with any of this, he returns to normal.
I know this might be an overly simplistic way of doing it, but I did it like this for my main NPC and it worked fine earlier in my quest. The big problem I can see is there is no getting out of him following you once he’s in that package, which I’m sure I’ll get yelled at by users who want more control.
So, I guess I’m trying to learn is this a stupid or unorthodox method of accomplishing my goal needs?
If my NPC is already in an alias, are they allowed to be in more than one alias at a time? How does one override the other if so? If not, I assume you would have to take them out of one alias and put them in the other somehow? Do I even need to worry about doing this? I’ll also try to figure out the examples you guys listed above tonight or this weekend.
Thanks, and sorry I’m so all over the map, lol.